IacStdFunctions

Hex Functions

Standard library functions for hexadecimal encoding and decoding

encode_hex

encode_hex encodes a string as a hexadecimal string.

Inputs

NameTypeDescription
valuestringAny input string

Output

NameTypeDescription
valuestringThe input string in its hexadecimal representation
output "encoded_hex" {
    value = encode_hex("hello, world")
}
// > encoded_hex: 68656C6C6F2C20776F726C64

On this page