ecx:md5hex
- 1 Minute to read
- Print
- DarkLight
ecx:md5hex
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
The function ecx:md5hex hashes a value with the message-digest algorithm 5. For more information, see http://en.wikipedia.org/wiki/MD5.
The binary output is produced as a hexadecimal string. For more information, see http://en.wikipedia.org/wiki/Hexadecimal.
Example
You set up a function that hashes the email address. This function protects personal data, which is exported from the system and shared with third parties for data analysis.
The function is constructed as follows:
${ecx:md5hex(user['email'])}
Structure
ecx:md5hex(string)
Parameters
Parameter | Description |
---|---|
string | Specifies the target value. Usually references an attribute or value that is stored in a related data set. Any value to be hashed can be referenced. |
Was this article helpful?