SHA1CryptoServiceProvider

SHA1CryptoServiceProvider


Provides services to compute the SHA-1 hash values of data.


Implements:

HashAlgorithm 
ICryptoTransform 
IObject 
SHA1 

NameDescription
 SHA1_ComputeHash 

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 input block size this transform can work on.  
 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

This uses the CryptoAPI version of the algorithm.

See Also

Project CorLib Overview

Class SHA1CryptoServiceProvider Overview

SHA1

SHA1Managed

SHA1Static

HashAlgorithm