The Sha256 type exposes the following members.

Methods

  NameDescription
AddDataOverloaded.
Adds a string of Ansi characters to the digest
BytesHash
Creates message digest as array of bytes from message in byte array
Dispose
Dispose of this object and clear any stored data
FileHexHash
Creates hash digest of a binary file
FileTextHexHash
Creates hash digest of a "text" file treating CR-LF pairs as a single newline char
HexDigest
Computes final message digest in hex format
HexHashOverloaded.
Creates message digest in hex format from message in Ansi string
HmacOverloaded.
Computes the keyed hash digest of binary data using HMAC algorithm
Init
Initializes the context
Instance
Create the one and only instance
Reset
Resets the context

Properties

  NameDescription
ErrCode
Last error code (for Init, AddData and HexDigest methods only)

See Also