md5

Welcome to our newly overhauled Zephyr pages! See our new Overview, Examples, and Index.
Feedback is welcome at bottom of each page.

Description

Returns an MD5 hash.

 string md5( string input )

Returns an MD5 hash of a string, as a 32-character string representation of hexadecimal.

Example

 {md5('test')} = 098f6bcd4621d373cade4e832627b4f6

MD5-hash a User’s Email Address

Use Case: Pass an anonymized user identifier such as the MD5-hash of their email address in a URL as a query string parameter.

Zephyr:

http://example.com/homepage?user_addr={md5(email)}

Output:

http://example.com/homepage?user_addr=94158d43519b532e1021a3b1a5c2d474

Explanation: Sending the hash of an email address allows you to compare this against your internal record of user hashes and identify the user. (Note that as a security and deliverability best practice, we recommend never directly passing the user’s email address in a URL.) You can use this technique in the Auto-Append Link Parameters section of the Template and Campaign Editors, for example.

Top