Hashing functionality implemented