- auto detect encryption / decryption