Add hashing functionality