klyn.cryptography.Hex.decodeToText
method

    public static decodeToText(value as String) as String throws CryptoException:

Description

Decodes a hexadecimal string to text.

Parameters

Parameter | Description
--- | ---
`value` | Lower-case or upper-case hexadecimal text.

Returns

Decoded text.

Throws

- CryptoException when the input is malformed.

Example

    import klyn.cryptography

    print(Hex.decodeToText("68656c6c6f"))