encryption-decryption test