Additional scripting methods are now available in the Multi-step API custom scripting. These methods let you use HMAC and RSA for SHA hash algorithms, as well as perform Base64 and Base64 URL encoding and decoding:
HMAC hashing:
ut.crypto.hmacsha1(value, secret)
ut.crypto.hmacsha256(value, secret)
ut.crypto.hmacsha512(value, secret)
RSA signing:
ut.crypto.rsasha1(value, privateKey, privateKeyType)
ut.crypto.rsasha256(value, privateKey, privateKeyType)
ut.crypto.rsasha512(value, privateKey, privateKeyType)
Base64 encoding and decoding:
ut.encoding.base64.encode(value)
ut.encoding.base64.decode(Base64-string)
ut.encoding.base64.urlencode(value)
ut.encoding.base64.urldecode(Base64-string)
Use these new methods to securely store and send sensitive values, generate digital signatures for your data using a private key to ensure authenticity, and provide data protection through hashing and encoding.