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

Encodes a text value as standard Base64.

Parameters
ParameterDescription
textSource text.
Returns

Standard Base64 text.

Throws
  • CryptoException on encoding failure.
Example
import klyn.cryptography

value = Base64.encodeText("hello")
print(value)