klyn.cryptography.Base64.decodeToText
method

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

Description

Decodes a standard Base64 string to text.

Parameters

Parameter | Description
--- | ---
`value` | Base64 input.

Returns

Decoded text.

Throws

- CryptoException when the value is malformed.

Example

    import klyn.cryptography

    print(Base64.decodeToText("aGVsbG8="))