Base64Encode

Overview

Encodes human-readable text into Base64 information.

Syntax

Base64Encode(1)

Function Properties

OrdinalTypeDescription
1stringRequiredTLocation of text to encrypt, either in a variable or data either in variable or data extension field via Lookup() AMPscript function

Usage

The Lookup() function retrieves the text information from the data extension, and the Base64Encode() encodes the text into Base64 information and assigns that value to the @encodedStr variable.