security.Digest methods

Methods of the security.Digest class.

Table 1. Class methods
Name Description
security.Digest.CreateDigest(
   algo STRING )
Defines a new digest context by specifying the algorithm to be used.
security.Digest.AddData(
   data BYTE )
Adds a data from a BYTE variable to the digest buffer.
security.Digest.AddBase64Data (
   data STRING )
Adds a data in base64 format to the digest buffer.
security.Digest.AddHexBinaryData(
   data STRING )
Adds a data in hexadecimal format to the digest buffer.
security.Digest.AddStringData(
   data STRING )
Adds a data string to the digest buffer.
security.Digest.DoBase64Digest()
  RETURNING b64Digest STRING
Creates a digest of the buffered data and returns the result in base64 format.
security.Digest.DoHexBinaryDigest()
  RETURNING hexBinDigest STRING 
Creates a digest of the buffered data and returns the result in hexadecimal format.
security.Digest.CreateDigestString(
   password STRING,
   randBase64 STRING )
  RETURNING result STRING
Creates a SHA1 digest from the given string.