Skip to main content

Overview

The create-hash transformation creates a hash value from the input using a specified algorithm.

Syntax

create-hash(<variable>, type="sha256")

Parameters

ParameterTypeRequiredDescription
variablestringYesThe value to hash
typestringYesHash algorithm: "sha256", "sha512", "sha1", "md5", or "sha224"
encodingstringNoOutput encoding: "hex" (default) or "base64"

Examples

create-hash(<variable>, type="sha256")
create-hash(<variable>, type="md5", encoding="base64")