syntax:functions:hexencode
This is an old revision of the document!
HexEncode(encoding, text)
Converts the provided text value into a hex string. The text is assumed to have the specified encoding. Supported encodings:
Encoding | Notes |
---|---|
base64 | |
base64url | Base64 in URL encoding |
utf-8 | |
utf-16 |
Example
Expression | Result |
---|---|
hexencode('base64url', ''VmFsaGFsbGE=') | 56616c68616c6c61 |
hexencode('utf-8', 'Valhalla') | 56616c68616c6c61 |
The 1st argument is case-insensitive. The 2nd argument is case-sensitive.
See also
syntax/functions/hexencode.1606346008.txt.gz · Last modified: 2020/11/25 18:13 by dmitry