klyn.cryptography.Hex.encodeText
method
public static encodeText(text as String) as String throws CryptoException:
Description
Encodes a text value as hexadecimal.
import klyn.cryptography

value = Hex.encodeText("hello")
print(value)
Parameters
  • text Source text.
Returns
Lower-case hexadecimal text.
Throws
  • CryptoException on encoding failure. ```klyn import klyn.cryptography value = Hex.encodeText("hello") print(value) ```