System.Security.Cryptography (mscorlib.dll) | abstract class |
public abstract class SHA1 : HashAlgorithm { // Protected Constructors protected SHA1( ); // Public Static Methods public static SHA1 Create( ); public static SHA1 Create(string hashName); } This class extends HashAlgorithm and is the abstract representation of the SHA-1 algorithm, which creates a 160-bit hash code. Individual implementations of SHA-1 extend this class. The .NET Framework class library includes the SHA1CryptoServiceProvider class, which is the default implementation. Hierarchy System.Object HashAlgorithm(ICryptoTransform, System.IDisposable) SHA1 Subclasses SHA1CryptoServiceProvider, SHA1Managed |