klyn.cryptography.Base64.urlEncodeText
method
public static urlEncodeText(text as String) as String throws CryptoException:
Description
Encodes a text value as URL-safe Base64.
import klyn.cryptography

value = Base64.urlEncodeText("hello")
print(value)
Parameters
  • text Source text.
Returns
URL-safe Base64 text.
Throws
  • CryptoException on encoding failure. ```klyn import klyn.cryptography value = Base64.urlEncodeText("hello") print(value) ```