Example
In this example, we are passing the required parameters to the function transformation object using a Variables object.
Where,
str = Hello World!
Right-click on the function transformation object and select Preview Output. You can see that Astera has returned the MD5 hashed value, a 128-bit (16-byte) hexadecimal number, typically represented as a 32-character string of the specified string.
Name
ComputeMD5
Syntax
ComputeMD5 (String str)
Purpose
To compute the MD5 hash of a text value.
Description
Returns MD5 hash (Message Digest Algorithm 5 – 128-bit (16-byte) hexadecimal value), of the input string.
Return Type
String
Parameter
str [System.String] – The raw string to HASH