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

print(Base64.decodeToText("aGVsbG8="))
Parameters
  • value Base64 input.
Returns
Decoded text.
Throws
  • CryptoException when the value is malformed. ```klyn import klyn.cryptography print(Base64.decodeToText("aGVsbG8=")) ```