User Tools

Site Tools


syntax:functions:hashhex

HashHex(algorithm, text)

Calculates the hexadecimal hash of a given text value using one of the algorithms:

  • md5
  • sha1
  • sha256
  • sha384
  • sha512

Remarks: data types other than text are not converted into text automatically. All texts are assumed to have the UTF-8 encoding. The algorithm name is case-insensitive. The value is case-sensitive.

Example:

Expression Result
hashhex("md5", "Curiouser and curiouser!") 729528e852be58bfdbe25add1f48f487

See also

syntax/functions/hashhex.txt · Last modified: 2019/12/07 14:38 by dmitry