KeyedHashAlgorithm

KeyedHashAlgorithm


Provides a common interface to be implementated by all keyed hash implentations.


Public:

Properties:

NameDescription
 CanReuseTransform (get) Returns if the hash algorithm implementation can be reused once a hash has been computed.  
 CanTransformMultipleBlocks (get) Returns if the hash algorithm implementation can processd multiple blocks of data at a time.  
 Hash (get) Returns the computed hash after all data has been processed.  
 HashSize (get) Returns the size of the hash value in bits.  
 InputBlockSize (get) Returns the size of the input block size allowed.  
 Key (get) Returns the key being used by the algorithm.  
 Key (let) Sets the key to be used by the algorithm.  
 OutputBlockSize (get) Returns the size of the output block.  

Methods:

NameDescription
 Clear Releases any resources being held by the hash algorithm.  
 ComputeHash Computes the hash on a source in its entirety.  
 Equals Returns if the Value is equal to this object instance.  
 GetHashCode Returns a pseudo-unique number identifying this instance.  
 Initialize Resets a hashing object to begin hashing a new value.  
 ToString Returns a string representation of this object instance.  
 TransformBlock Continues to compute the hash value for blocks of data.  
 TransformFinalBlock Finalizes the hash computation by processing the last block of data.  

See Also

Project CorLib Overview

Class KeyedHashAlgorithm Overview

HMACMD5

HMACSHA1

HMACSHA256

HMACSHA384

HMACSHA512

HMACRIPEMD160

MACTripleDES