Encryption/Decrypting function testing