added crypto-hashing