Hash

Description:           Generates a 20 byte hash of the given string.

Returns:                Text

Usage:                   Script

Format:                 Hash(PlainText[, AlgID])

Parameters:             PlainText      { text }  { required }  { no default }

                                      Any text string to create a hash from.

                                    AlgID      { numeric }  { optional }  { default: 0  (SHA-1) }

                                      Specifies the algorithm to use when creating the hash. Valid options are as follows: 

AlgID

Hash

0

SHA-1 (128 bit hash)

1

MD5

2

SHA-2 (256 bit hash)

3

SHA-2 (384 bit hash)

4

SHA-2 (512 bit hash)

 

Comments:            None.

See Also:

 Encrypt | Decrypt