klyn.cryptography.Base64.encodeText
method
public static encodeText(text as String) as String throws CryptoException:
Description

Encodes a text value as standard Base64.

Parameters
  • text Source text.
Returns

Standard Base64 text.

Throws
  • CryptoException on encoding failure. ```klyn import klyn.cryptography value = Base64.encodeText("hello") print(value) ```