using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// Computes a Hash-based Message Authentication Code (HMAC) using the hash function.
// Token: 0x02000409 RID: 1033
[Token(Token = "0x2000409")]
[ComVisible(true)]
public class HMACSHA1 : HMAC
{
/// Initializes a new instance of the class with a randomly generated key.
// Token: 0x060023DC RID: 9180 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60023DC")]
[Address(RVA = "0xC0A6A0", Offset = "0xC096A0", VA = "0x180C0A6A0")]
public HMACSHA1()
{
}
/// Initializes a new instance of the class with the specified key data.
/// The secret key for encryption. The key can be any length, but if it is more than 64 bytes long it is hashed (using SHA-1) to derive a 64-byte key. Therefore, the recommended size of the secret key is 64 bytes.
/// The parameter is .
// Token: 0x060023DD RID: 9181 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60023DD")]
[Address(RVA = "0xC0A5F0", Offset = "0xC095F0", VA = "0x180C0A5F0")]
public HMACSHA1(byte[] key)
{
}
/// Initializes a new instance of the class with the specified key data and a value that specifies whether to use the managed version of the SHA1 algorithm.
/// The secret key for encryption. The key can be any length, but if it is more than 64 bytes long, it is hashed (using SHA-1) to derive a 64-byte key. Therefore, the recommended size of the secret key is 64 bytes.
///
/// to use the managed implementation of the SHA1 algorithm (the class); to use the unmanaged implementation (the class).
// Token: 0x060023DE RID: 9182 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60023DE")]
[Address(RVA = "0xC0A5F0", Offset = "0xC095F0", VA = "0x180C0A5F0")]
public HMACSHA1(byte[] key, bool useManagedSha1)
{
}
}
}