MD5CryptoServiceProvider

MD5CryptoServiceProvider


Provides MD5 hashing services through the CryptoAPI interface.


Implements:

HashAlgorithm 
ICryptoTransform 
IObject 
MD5 

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 Processes the final data and retrieves the hash value.  

See Also

Project CorLib Overview

Class MD5CryptoServiceProvider Overview