using System; using System.Runtime.InteropServices; namespace System.Security.Cryptography { /// Computes the hash for the input data. // Token: 0x0200052A RID: 1322 [ComVisible(true)] public abstract class SHA1 : HashAlgorithm { /// Initializes a new instance of . /// The policy on this object is not compliant with the FIPS algorithm. // Token: 0x0600308A RID: 12426 RVA: 0x000A5E40 File Offset: 0x000A4040 protected SHA1() { this.HashSizeValue = 160; } /// Creates an instance of the default implementation of . /// A new instance of . /// /// /// // Token: 0x0600308B RID: 12427 RVA: 0x000A5E54 File Offset: 0x000A4054 public new static SHA1 Create() { return SHA1.Create("System.Security.Cryptography.SHA1"); } /// Creates an instance of the specified implementation of . /// A new instance of using the specified implementation. /// The name of the specific implementation of to be used. // Token: 0x0600308C RID: 12428 RVA: 0x000A5E60 File Offset: 0x000A4060 public new static SHA1 Create(string hashName) { return (SHA1)CryptoConfig.CreateFromName(hashName); } } }