AMPscript Encryption Functions

Use the AMPscript encryption functions to encrypt or encode data.

This section contains information about these AMPscript functions.

Function NameDescription
DecryptSymmetric()Decrypts encrypted data using the supplied algorithm and encryption values.
EncryptSymmetric()Encrypts plain text data using the supplied algorithm and encryption values.
GetJwt()Creates JSON Web Tokens.
GetJwtByKeyName()Creates JSON Web Tokens.
MD5()Converts a string to a 128-bit hexadecimal MD5 hash.
SHA1()Converts a string to a 160-bit hexadecimal SHA-1 hash.
SHA256()Converts a string to a 256-bit hexadecimal SHA-2 hash.
SHA512()Converts a string to a 512-bit hexadecimal SHA-2 hash.