security.HexBinary methods

Methods of the security.HexBinary class.

Table 1. Class methods
Name Description
security.HexBinary.FromBase64(
   source STRING )
  RETURNING result STRING
Converts a base64 string to the hexadecimal equivalent.
security.HexBinary.FromByte(
   source BYTE )
  RETURNING result STRING
Encodes BYTE data in hexadecimal.
security.HexBinary.FromString(
   source STRING )
  RETURNING result STRING
Encodes a given string in hexadecimal.
security.HexBinary.FromStringWithCharset(
  source STRING,
  charset STRING )
  RETURNING result STRING
Encodes a given string in hexadecimal, according to a given charset.
security.HexBinary.LoadBinary(
   path STRING )
  RETURNING result STRING
Reads binary data from a file and converts it to hexadecimal.
security.HexBinary.SaveBinary(
   path STRING,
   data STRING )
Decodes an hexadecimal strings and writes the binary data to a file.
security.HexBinary.ToBase64(
   source STRING )
  RETURNING result STRING
Converts an hexadecimal string to the base64 equivalent
security.HexBinary.ToByte(
   source STRING,
   destination BYTE )
Decodes an hexadecimal string into a BYTE variable.
security.HexBinary.ToString(
   source STRING )
  RETURNING result STRING
Decodes an hexadecimal string to a clear, human-readable string.
security.HexBinary.ToStringWithCharset(
   source STRING,
   charset STRING )
  RETURNING result STRING
Decodes an hexadecimal string to a clear, human-readable string, according to a given charset.
security.HexBinary.Xor(
   hexstr1 STRING,
   hexstr2 STRING )
  RETURNING result STRING
Computes the exclusive disjunction between two hexadecimal encoded strings.