ensure encryption/decryption work