klyn.cryptography.Hex.decodeToText
method
public static decodeToText(value as String) as String throws CryptoException:
Description
Decodes a hexadecimal string to text.
import klyn.cryptography

print(Hex.decodeToText("68656c6c6f"))
Parameters
  • value Lower-case or upper-case hexadecimal text.
Returns
Decoded text.
Throws
  • CryptoException when the input is malformed. ```klyn import klyn.cryptography print(Hex.decodeToText("68656c6c6f")) ```