Hash(Text algorithm, Text data, Text encoding)

Calculate Hash for third-party API calls.

Parameters

algorithm
The text constant, "MD5", "SHA", "SHA1", "SHA2_256," or "SHA2_512."
data
The text data for encoding.
encoding
The text constant, "base64," or "binhex."

Returns

Text