SHA1Managed

SHA1Managed


Provides services to compute the SHA-1 hash value.


Implements:

HashAlgorithm 
ICryptoTransform 
IHashAlgorithm 
IObject 
SHA1 

Public:

Properties:

NameDescription
 CanReuseTransform (get) Returns if this service provider can be reused to transfrom more data.  
 CanTransformMultipleBlocks (get) Returns if this transform can operate on multiple blocks at once.  
 Hash (get) Returns the computed hash.  
 HashSize (get) Returns the size of the computed hash.  
 InputBlockSize (get) Returns the size of the input block size allowed.  
 OutputBlockSize (get) Returns the output block size this transform can produce.  

Methods:

NameDescription
 Clear Releases any resources.  
 ComputeHash Computes a hash value for a source in a single pass.  
 Equals This function determines if the value passed in is the same as the current object instance. Meaning, are the Value and this object the same object in memory.  
 GetHashCode Returns a psuedo-unique number used to help identify this object in memory. The current method is to return the value obtained from ObjPtr. If a different method needs to be impelmented then change the method here in this function.  
 Initialize Resets the hashing algorithm to start again.  
 ToString Returns a string representation of this object instance. The default method simply returns the application name and class name in which this class resides.  
 TransformBlock Computes the hash for the specified block of data.  
 TransformFinalBlock Computes the final hash value.  

Remarks

The SHA-1 algorithm is implemented in Visual Basic.

Details can be found at http://csrc.nist.gov/CryptoToolkit/tkhash.html

See Also

Project CorLib Overview

Class SHA1Managed Overview

SHA1CryptoServiceProvider

SHA1

SHA1Static

HashAlgorithm