Encrypt and decrypt data using AES encryption.

Note: Both filter.aes.enc and filter.aes.dec meet the NIST standard (FIPS PUB 197).


Recommended Best Practice

The output produced by the aes function is essentially a binary string. As such, we recommend that you include an encoding/decoding function as part of your script so that your encrypted messages transmit and decrypt correctly:

There are several encoding/decoding functions available to you: