security.Base64 methods

Methods of the security.Base64 class.

Table 1. Class methods
Name Description
security.Base64.ToString(
  source STRING )
  RETURNING result STRING
Decodes the given base64 string.
security.Base64.FromString(
  source STRING )
  RETURNING result STRING
Encodes the given string in base64.
security.Base64.ToHexBinary(
  source STRING )
  RETURNING result STRING
Decodes the given base64 string to hexadecimal.
security.Base64.FromHexBinary(
  source STRING )
  RETURNING result STRING
Decodes the given hexadecimal string to base64.
security.Base64.Xor(
  b64str1 STRING,
  b64str2 STRING )
  RETURNING result STRING
Computes the exclusive disjunction between two base64 encoded strings.
security.Base64.LoadBinary(
  path STRING )
  RETURNING result STRING
Reads data from a file and encodes to base64.
security.Base64.SaveBinary(
  path STRING,
  data STRING )
Decodes the given base64 string and writes the data to a file.