SHA1

SHA1


Represents a standard interface for SHA-1 class implementations.


Public:

Properties:

NameDescription
 CanReuseTransform (get) Returns if the SHA-1 implementation can be reused after a final transformation.  
 CanTransformMultipleBlocks (get) Returns if an SHA-1 implementation can transform multiple blocks at a time.  
 Hash (get) Returns the final hash value generated after performing the hashing algorithm.  
 HashSize (get) Returns the size of the hash in bits.  
 InputBlockSize (get) Returns the input block size used by the SHA-1 hash implementation.  
 OutputBlockSize (get) Returns the output block size created by the SHA-1 hash implementation.  

Methods:

NameDescription
 Clear Releases any resources used by the hash implementation.  
 ComputeHash Computes the hash for a give source.  
 Equals Returns if the value is equal to this object instance.  
 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.  

See Also

Project CorLib Overview

Class SHA1 Overview

SHA1CryptoServiceProvider

SHA1Managed