security.Digest.AddData

Adds a data from a BYTE variable to the digest buffer.

Syntax

security.Digest.AddData(
   data BYTE )
  1. data is binary data to be added to the digest buffer.

Usage

Adds the binary data contained in the given BYTE to the digest context.

After adding all data pieces, the buffer can be processed by calling security.Digest.DoBase64Digest or security.Digest.DoHexBinaryDigest.

Important: The BYTE must be located in memory.

Throws an exception in case of errors, and updates STATUS with an error code.