added en/decryption