Adding new hashing function suport

new hashing function