This documentation is archived and is not being maintained.

SHA1CryptoServiceProvider Methods

The methods of the SHA1CryptoServiceProvider class are listed here. For a complete list of SHA1CryptoServiceProvider class members, see the SHA1CryptoServiceProvider Members topic.

Public Methods

public methodClear (inherited from HashAlgorithm) Releases all resources used by the HashAlgorithm.
public methodComputeHash (inherited from HashAlgorithm) Overloaded. Computes the hash value for the input data.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodInitialize Overridden. Initializes an instance of SHA1CryptoServiceProvider.
public methodToString (inherited from Object) Returns a String that represents the current Object.
public methodTransformBlock (inherited from HashAlgorithm) 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.
public methodTransformFinalBlock (inherited from HashAlgorithm) Computes the hash value for the specified region of the specified byte array.

Protected Methods

protected methodDispose Overridden. Releases the unmanaged resources used by the SHA1CryptoServiceProvider and optionally releases the managed resources.
protected methodFinalize Overridden. Releases the unmanaged resources used by the SHA1CryptoServiceProvider.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodHashCore Overridden. Routes data written to the object into the SHA1 hash algorithm for computing the hash.
protected methodHashFinal Overridden. Returns the computed SHA1 hash value after all data has been written to the object.
protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

SHA1CryptoServiceProvider Class | System.Security.Cryptography Namespace

Show: