MD5
→ stringComputes the MD5 hash of a string value and returns it as a hexadecimal string.
Available in:
Email
CloudPage
Automation
Triggered Send
Syntax
Platform.Function.MD5(value [, encoding])
1–2 arguments
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
value |
string | Yes | String to hash |
encoding |
string | No | Encoding of input. Default: "hex" |
Examples
var hash = Platform.Function.MD5("hello@example.com");
Write(hash); // "5d41402abc4b2a76b9719d911017c592" (example only)
MD5 is a cryptographic hash, not encryption. It is one-way and considered weak for security-sensitive use cases. For data integrity or non-security identifiers it remains useful.