security.Base64 methods

Methods of the security.Base64 class.

Table 1. Class methods
Name Description
FromByte(
   data BYTE )
  RETURNS STRING
Encodes the given BYTE data in base64.
FromHexBinary(
   hexBinVal STRING )
  RETURNS STRING
Decodes the given hexadecimal string to base64.
FromString(
   clearVal STRING )
  RETURNS STRING
Encodes the given string in base64.
FromStringWithCharset(
   clearVal STRING, 
   charset STRING )
  RETURNS STRING
Encodes the given string in base64, based on a given charset.
LoadBinary(
   path STRING )
  RETURNS STRING
Reads data from a file and encodes to base64.
SaveBinary(
   path STRING,
   base64Data STRING )
Decodes the given base64 string and writes the data to a file.
ToByte(
   val64 STRING,
   ret BYTE )
Decodes the given base64 string into a BYTE.
ToHexBinary(
   val64 STRING )
  RETURNS STRING
Decodes the given base64 string to hexadecimal.
ToString(
   val64 STRING )
  RETURNS STRING
Decodes the given base64 string.
ToStringWithCharset(
   val64 STRING,
   charset STRING )
  RETURNS STRING
Decodes the given base64 string, based on a given charset.
Xor(
   clearVal1 STRING,
   clearVal2 STRING )
  RETURNS STRING
Computes the exclusive disjunction between two base64 encoded strings.