syntax:functions:hashhex
This is an old revision of the document!
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.1575747531.txt.gz · Last modified: 2019/12/07 14:38 by dmitry