Fixed encryption/decryption; extended hashing