Provides basic hashing capabilities.
You may also find the hash JavaScript library useful.
Executed
Client-side only.
Arguments
| Argument | Type | Description |
|---|---|---|
| input | String, required | The value to hash |
| prefix | String, optional | A prefix for the returned hash. If not provided icm will be used |
Example
This function has been added to a script button.
function (helper) {
var value = helper.utilHash(helper.getFieldValue('TEXT'), 'myHash')
helper.setFieldValue('HASH', value);
}
