The MD5 function takes a single string as input and returns the hash of the input as a Hex-encoded string, arrived at via the MD5 algorithm. 

This function takes either a single string as input. It returns a single string: the hash of the input as calculated by the MD5 algorithm

Declaration

SHA1(string) -> hash

Parameters

string (required, type: string)
Any string.

Return Values

hash (type: string)
The hash of the input as calculated by the MD5 algorithm.

Examples

The following example returns the hash of the string "This is a string." as calculated by the MD5 algorithm:

MD5("This is a string.") => 13562b471182311b6eea8d241103e8f0
The following example returns the hash of the string "no-reply@airkit.com" as calculated by the MD5 algorithm. Note that within Airscript, an email is a subcategory of string:
MD5("no-reply@airkit.com") => 97e234a976961293268d21561040057b
 

Was this article helpful?

0 out of 0 found this helpful