Add hashing algorithm