mscorlib(4.0.0.0) API with additions
SHA1.cs
2 
4 {
6  [ComVisible(true)]
7  public abstract class SHA1 : HashAlgorithm
8  {
11  protected SHA1()
12  {
13  HashSizeValue = 160;
14  }
15 
18  public new static SHA1 Create()
19  {
20  return Create("System.Security.Cryptography.SHA1");
21  }
22 
26  public new static SHA1 Create(string hashName)
27  {
28  return (SHA1)CryptoConfig.CreateFromName(hashName);
29  }
30  }
31 }
int HashSizeValue
Represents the size, in bits, of the computed hash code.
static object CreateFromName(string name, params object[] args)
Creates a new instance of the specified cryptographic object with the specified arguments.
Definition: __Canon.cs:3
SHA1()
Initializes a new instance of T:System.Security.Cryptography.SHA1.
Definition: SHA1.cs:11
Accesses the cryptography configuration information.
Definition: CryptoConfig.cs:17
Represents the base class from which all implementations of cryptographic hash algorithms must derive...
Definition: HashAlgorithm.cs:8
static new SHA1 Create()
Creates an instance of the default implementation of T:System.Security.Cryptography....
Definition: SHA1.cs:18
static new SHA1 Create(string hashName)
Creates an instance of the specified implementation of T:System.Security.Cryptography....
Definition: SHA1.cs:26
Computes the T:System.Security.Cryptography.SHA1 hash for the input data.
Definition: SHA1.cs:7