The SHA2Managed type exposes the following members.
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 a new instance of the SHA2Managed class using the SHA256 hash algorithm.
| |
Dispose()()()() | (Inherited from HashAlgorithm.) | |
Dispose(Boolean) |
Releases the unmanaged resources used by the class 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 |
Computes the hash code.
(Overrides HashAlgorithm..::..HashCore(array<Byte>[]()[][], Int32, Int32).) | |
HashFinal |
Finalizes computation of the hash code.
(Overrides HashAlgorithm..::..HashFinal()()()().) | |
Initialize |
Initializes the hash algorithm.
(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.) |