Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »


Function: hash()

Returns hash-encrypted string, optionally with a salt.

Syntax

hash(algorithm,salt,string)

ArgumentTypeDescription

algorithm

String

The name of the following hashing algorithms:

  • SHA-256
  • SHA-512
  • MD5

salt

String

Additional salt characters to add to the end of the string before hashing.
If no salt is required, specify _NULL.

string

String

The string to be hashed. Must not be null.

Examples

hash("SHA-256", _NULL, "testValue")

Takes the string testValue, uses SHA-256 algorighm to convert it to a hashed string. No salt is added. Returns the value: 82fe0c834cbea069013c5eb7828e599a693e0d2411887e2ab273271662973082

See Also

  • No labels