Cryptography functionality added to utils.