The MD5SHA1 type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MD5SHA1 |
Initializes a new instance of the MD5SHA1 class.
|
Methods
Name | Description | |
---|---|---|
Clear | Releases all resources used by the HashAlgorithm class. (Inherited from HashAlgorithm.) | |
ComputeHash(Stream) | Computes the hash value for the specified Stream object. (Inherited from HashAlgorithm.) | |
ComputeHash(array<Byte>[]()[][]) | Computes the hash value for the specified byte array. (Inherited from HashAlgorithm.) | |
ComputeHash(array<Byte>[]()[][], Int32, Int32) | Computes the hash value for the specified region of the specified byte array. (Inherited from HashAlgorithm.) | |
Create |
Creates an instance of the MD5SHA1 hash algorithm.
| |
Dispose()()()() | (Inherited from HashAlgorithm.) | |
Dispose(Boolean) |
Releases the unmanaged resources used by the MD5SHA1 and optionally releases the managed resources.
(Overrides HashAlgorithm..::..Dispose(Boolean).) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HashCore |
Routes data written to the object into MD5 and SHA1 hash algorithms for computing the hash.
(Overrides HashAlgorithm..::..HashCore(array<Byte>[]()[][], Int32, Int32).) | |
HashFinal |
Returns the computed MD5SHA1 hash as an array of bytes after all data has been written to the object.
(Overrides HashAlgorithm..::..HashFinal()()()().) | |
Initialize |
Initializes an instance of MD5SHA1.
(Overrides HashAlgorithm..::..Initialize()()()().) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
TransformBlock | Computes the hash value for the specified region of the input byte array and copies the resulting hash value to the specified region of the output byte array. (Inherited from HashAlgorithm.) | |
TransformFinalBlock | Computes the hash value for the specified region of the specified byte array. (Inherited from HashAlgorithm.) |
Fields
Name | Description | |
---|---|---|
HashSizeValue | Represents the size, in bits, of the computed hash code. (Inherited from HashAlgorithm.) | |
HashValue | Represents the value of the computed hash code. (Inherited from HashAlgorithm.) | |
State | Represents the state of the hash computation. (Inherited from HashAlgorithm.) |
Properties
Name | Description | |
---|---|---|
CanReuseTransform | Gets a value indicating whether the current transform can be reused. (Inherited from HashAlgorithm.) | |
CanTransformMultipleBlocks | When overridden in a derived class, gets a value indicating whether multiple blocks can be transformed. (Inherited from HashAlgorithm.) | |
Hash | Gets the value of the computed hash code. (Inherited from HashAlgorithm.) | |
HashSize | Gets the size, in bits, of the computed hash code. (Inherited from HashAlgorithm.) | |
InputBlockSize | When overridden in a derived class, gets the input block size. (Inherited from HashAlgorithm.) | |
MD5 |
Returns the underlying instance of the MD5 object that is used to compute the MD5 part of the combined hash.
| |
OutputBlockSize | When overridden in a derived class, gets the output block size. (Inherited from HashAlgorithm.) | |
SHA1 |
Returns the underlying instance of the SHA1 object that is used to compute the SHA1 part of the combined hash.
|