MD5Hash
The MD5Hash
function returns an
MD5 hash from a given string.
Syntax
The MD5Hash
function has the following syntax:
String = MD5Hash(String)
Parameters
The MD5Hash
function has the following parameters.
Parameter |
Format |
Description |
---|---|---|
|
String |
String from which to create the UTF-8 encoded hash. |
Return value
UTF-8 encoded hashed string.
Example
The following policy:
MyHash = MD5Hash("My String");
Log("'My String' Hashed in MD5/UTF-8 = " + MyHash);
Produces the following example output:
26 Apr 2023 13:53:46,375: [MD5HashFucntion][pool-4-thread-31]Parser log: 'My String' Hashed in MD5/UTF-8 = 4545102cc40ea0a85124cf4b31574661