Setting up the hashing process