Click or drag to resize

Hash Class

Message Digest Hash Functions
Inheritance Hierarchy
SystemObject
  CryptoSysAPIHash

Namespace: CryptoSysAPI
Assembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntax
public class Hash

The Hash type exposes the following members.

Properties
 NameDescription
Public propertyErrCode Last error code (for Init, AddData and Final object methods only)
Top
Methods
 NameDescription
Public methodAddData(Byte) Adds a chunk of data in a byte array to be digested by the Hash object.
Public methodAddData(String) Adds a chunk of data in a string to be digested by the Hash object.
Public methodStatic memberBytesFromBytes Computes hash value in byte format of byte input
Public methodStatic memberBytesFromFile Computes hash value in byte format of a binary file
Public methodDispose Dispose of this object and clear any stored data.
Public methodFinal Computes final message digest for the Hash object.
Public methodStatic memberHexFromBits Computes hash value in hex format from bit-oriented input
Public methodStatic memberHexFromBytes Computes hash value in hex format of byte input
Public methodStatic memberHexFromFile Computes hash value in hex format of a binary file
Public methodStatic memberHexFromHex Computes hash value in hex format of hex-encoded input
Public methodStatic memberHexFromString Computes hash value in hex format of string input
Public methodStatic memberHexFromTextFile Computes hash value in hex format of a text file, treating CR-LF pairs as a single LF
Public methodInit Initialises the Hash object ready for repeated incremental operations.
Public methodStatic memberInstance Create the one and only instance
Public methodStatic memberLengthInBytes Returns the number of bytes in the message digest for the given hash algorithm.
Public methodReset Resets the context of the Hash object.
Top
See Also