Name

HMACSHA1

Synopsis

public class HMACSHA1 : KeyedHashAlgorithm {
// Public Constructors
   public HMACSHA1(  );
   public HMACSHA1(byte[  ] rgbKey);
// Public Instance Properties
   public string HashName{set; get; }
   public override byte[  ] Key{set; get;
 // overrides KeyedHashAlgorithm
                  // Public Instance Methods
   public override void Initialize(  );
 // overrides HashAlgorithm
                  // Protected Instance Methods
   protected override void Dispose(bool disposing);
 // overrides KeyedHashAlgorithm
   protected override void Finalize(  );
 // overrides KeyedHashAlgorithm
   protected override void HashCore(byte[  ] rgb, int ib,  int cb);
// overrides HashAlgorithm
   protected override byte[  ] HashFinal(  );
 // overrides HashAlgorithm
}

This class extends the KeyedHashAlgorithm class and implements the HMAC-SHA-1 algorithm, which uses the SHA-1 algorithm as the basis for creating keyed hash codes.

Hierarchy

System.Object HashAlgorithm(ICryptoTransform, System.IDisposable) KeyedHashAlgorithm HMACSHA1

Get Programming .NET Security now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.