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

Encodes a text value as URL-safe Base64.

Parameters
ParameterDescription
textSource text.
Returns

URL-safe Base64 text.

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

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