security.Base64 methods

Methods of the security.Base64 class.

Table 1. Class methods
Name Description
security.Base64.FromByte(
   source BYTE )
  RETURNING result STRING
Encodes the given BYTE data in base64.
security.Base64.FromHexBinary(
   source STRING )
  RETURNING result STRING
Decodes the given hexadecimal string to base64.
security.Base64.FromString(
   source STRING )
  RETURNING result STRING
Encodes the given string in base64.
security.Base64.FromStringWithCharset(
   source STRING,
   charset STRING )
  RETURNING result STRING
Encodes the given string in base64, according to a given charset.
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.
security.Base64.ToByte(
   source STRING,
   destination BYTE )
Decodes the given base64 string into a BYTE.
security.Base64.ToHexBinary(
   source STRING )
  RETURNING result STRING
Decodes the given base64 string to hexadecimal.
security.Base64.ToString(
   source STRING )
  RETURNING result STRING
Decodes the given base64 string.
security.Base64.ToStringWithCharset(
   source STRING,
   charset STRING )
  RETURNING result STRING
Decodes the given base64 string, according to a given charset.
security.Base64.Xor(
   b64str1 STRING,
   b64str2 STRING )
  RETURNING result STRING
Computes the exclusive disjunction between two base64 encoded strings.