Statement | GetMD5 |
---|---|
Version | 2.3.6+ |
Purpose | Performs an MD5 hash on a string, and returns the result into the specified variable in hex encoded form |
The GetMD5 statement requires a string and variable name, in the format
GetMD5 <string> <variable name>
The following example will take “hello ” plus the contents of the ${myvar} variable, perform an MD5 hash on it, and put the result into the ${myMD5Hash} variable
GetMD5 "hello ${myvar}" myMD5Hash