IHashAlgorithm

IHashAlgorithm


Provides an interface all hash algorithm callbacks must implement.


Public:

Methods:

NameDescription
 HashCore Requests a callback to hash a set of bytes, maintaining any state needed between calls.  
 HashFinal Requests the callback to hash any buffered data and return the resulting hash value.  
 Initialize Requests that a callback reset itself to prepare for hashing a new value.  

Remarks

The HashAlgorithmBase class uses callbacks to perform hashing functions. A callback object must implement this interface to be used.

See Also

Project CorLib Overview

Class IHashAlgorithm Overview