Hash

Mon 01 January 2018

Syntax

Hash(cleartext_string)

Description

Use the Hash function to generate a hashed string that is always 28 characters in length. The input is variable length, with no maximum size.

Regardless of the operating system platform, underlying character encoding, or hardware byte order, identical character strings always generate identical hash values regardless of the platform on which the hash generation is run. Because of this, hash output should not be used as a unique key to a table of data. Given the output of hash, it is impossible to determine the input.

Some of the original data is deliberately lost during the conversion process. This way, even if you know the algorithm, you can't “un-hash” the data.

Generally the Hash function is used like a checksum—for example, to compare hashed values to ensure they match.

Parameters

Field or Control

Definition

cleartext_string

Specifies the string, such as a password, to be hashed.

Returns

A hash string.