using System;
using System.Runtime.InteropServices;
namespace System.Security.Cryptography
{
/// Computes the hash value for the input data using the implementation provided by the cryptographic service provider (CSP). This class cannot be inherited.
// Token: 0x0200052C RID: 1324
[ComVisible(true)]
public sealed class SHA1CryptoServiceProvider : SHA1
{
/// Initializes a new instance of the class.
// Token: 0x06003096 RID: 12438 RVA: 0x000A69D4 File Offset: 0x000A4BD4
public SHA1CryptoServiceProvider()
{
this.sha = new SHA1Internal();
}
// Token: 0x06003097 RID: 12439 RVA: 0x000A69E8 File Offset: 0x000A4BE8
~SHA1CryptoServiceProvider()
{
this.Dispose(false);
}
// Token: 0x06003098 RID: 12440 RVA: 0x000A6A24 File Offset: 0x000A4C24
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
// Token: 0x06003099 RID: 12441 RVA: 0x000A6A30 File Offset: 0x000A4C30
protected override void HashCore(byte[] rgb, int ibStart, int cbSize)
{
this.State = 1;
this.sha.HashCore(rgb, ibStart, cbSize);
}
// Token: 0x0600309A RID: 12442 RVA: 0x000A6A48 File Offset: 0x000A4C48
protected override byte[] HashFinal()
{
this.State = 0;
return this.sha.HashFinal();
}
/// Initializes an instance of .
///
///
///
// Token: 0x0600309B RID: 12443 RVA: 0x000A6A5C File Offset: 0x000A4C5C
public override void Initialize()
{
this.sha.Initialize();
}
// Token: 0x040013CE RID: 5070
private SHA1Internal sha;
}
}