Functionsencode_hexVersion: NextOn this pageencode_hexEncodes bytes into their hexadecimal representation.encode_hex(bytes: blob|string) -> stringDescriptionEncodes bytes into their hexadecimal representation.bytes: blob|stringThe value to encode.ExamplesEncode a string to hexfrom {bytes: "Tenzir"} encoded = bytes.encode_hex(){bytes: "Tenzir", encoded: "54656E7A6972"}See Alsodecode_hex