security.Digest methods

Methods of the security.Digest class.

Table 1. Class methods
Name Description
security.Digest.CreateDigest(
   algo STRING )
  RETURNS security.Digest
Defines a new digest context by specifying the algorithm to be used.
Table 2. Object methods
Name Description
security.Digest.AddData(
   toDigest BYTE )
Adds data from a BYTE variable to the digest buffer.
security.Digest.AddBase64Data (
   toDigest STRING )
Adds data in base64 format to the digest buffer.
security.Digest.AddHexBinaryData(
   toDigest STRING )
Adds data in hexadecimal format to the digest buffer.
security.Digest.AddStringData(
   toDigest STRING )
Adds a data string to the digest buffer.
security.Digest.AddStringDataWithCharset(
   toDigest STRING,
   charset STRING )
Adds a data string to the digest buffer, after converting to the specified character set.
security.Digest.CreateDigestString(
   toDigest STRING,
   randomBase64 STRING )
  RETURNS STRING
Creates a SHA1 digest from the given string.
security.Digest.DoBase64Digest()
  RETURNS STRING
Creates a digest of the buffered data and returns the result in base64 format.
security.Digest.DoHexBinaryDigest()
  RETURNS STRING 
Creates a digest of the buffered data and returns the result in hexadecimal format.