added crypto for hashing