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: 0x020003F0 RID: 1008
[Token(Token = "0x20003F0")]
[ComVisible(true)]
public class HMACSHA512 : HMAC
{
/// Initializes a new instance of the class with a randomly generated key.
// Token: 0x060021DA RID: 8666 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60021DA")]
[Address(RVA = "0x2DA8FB0", Offset = "0x2DA7DB0", VA = "0x182DA8FB0")]
public HMACSHA512()
{
}
/// Initializes a new instance of the class with the specified key data.
/// The secret key for encryption. The key can be any length. However, the recommended size is 128 bytes. If the key is more than 128 bytes long, it is hashed (using SHA-512) to derive a 128-byte key. If it is less than 128 bytes long, it is padded to 128 bytes.
/// The parameter is .
// Token: 0x060021DB RID: 8667 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60021DB")]
[Address(RVA = "0x2DA8EC0", Offset = "0x2DA7CC0", VA = "0x182DA8EC0")]
public HMACSHA512(byte[] key)
{
}
// Token: 0x170004A2 RID: 1186
// (get) Token: 0x060021DC RID: 8668 RVA: 0x00014A78 File Offset: 0x00012C78
[Token(Token = "0x170004A2")]
private int BlockSize
{
[Token(Token = "0x60021DC")]
[Address(RVA = "0x2DA8E80", Offset = "0x2DA7C80", VA = "0x182DA8E80")]
get
{
return 0;
}
}
/// Provides a workaround for the .NET Framework 2.0 implementation of the algorithm, which is inconsistent with the .NET Framework 2.0 Service Pack 1 implementation.
///
/// to enable .NET Framework 2.0 Service Pack 1 applications to interact with .NET Framework 2.0 applications; otherwise, .
// Token: 0x170004A3 RID: 1187
// (get) Token: 0x060021DD RID: 8669 RVA: 0x00014A90 File Offset: 0x00012C90
// (set) Token: 0x060021DE RID: 8670 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170004A3")]
public bool ProduceLegacyHmacValues
{
[Token(Token = "0x60021DD")]
[Address(RVA = "0x75C260", Offset = "0x75B060", VA = "0x18075C260")]
get
{
return default(bool);
}
[Token(Token = "0x60021DE")]
[Address(RVA = "0x2DA8EA0", Offset = "0x2DA7CA0", VA = "0x182DA8EA0")]
set
{
}
}
// Token: 0x04001362 RID: 4962
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
[Token(Token = "0x4001362")]
private bool m_useLegacyBlockSize;
}
}