Calculates a "structure hash" which is equal for similarly structured input.

Function Traits: FieldComputationFunction, Transformation

ParameterTypeRequiredDefaultDescription
asstringoptional_tokenHash The name of output field.
field[a]stringrequired  The name of the field to hash.

[a] The argument name field can be omitted.

The parameter name for field can be omitted; the following forms are equivalent:

logscale
tokenHash("value")

and:

logscale
tokenHash(field="value")

tokenHash() Examples

Replace the value in the ssn field with the hash of the existing value, also replacing it in @rawstring

logscale
tokenHash(ssn)