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: 0x0200040C RID: 1036 [Token(Token = "0x200040C")] [ComVisible(true)] public class HMACSHA512 : HMAC { /// Initializes a new instance of the class with a randomly generated key. // Token: 0x060023E6 RID: 9190 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60023E6")] [Address(RVA = "0xC0AC90", Offset = "0xC09C90", VA = "0x180C0AC90")] 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: 0x060023E7 RID: 9191 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60023E7")] [Address(RVA = "0xC0ABA0", Offset = "0xC09BA0", VA = "0x180C0ABA0")] public HMACSHA512(byte[] key) { } // Token: 0x17000519 RID: 1305 // (get) Token: 0x060023E8 RID: 9192 RVA: 0x00016E48 File Offset: 0x00015048 [Token(Token = "0x17000519")] private int BlockSize { [Token(Token = "0x60023E8")] [Address(RVA = "0xC0AB60", Offset = "0xC09B60", VA = "0x180C0AB60")] 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: 0x1700051A RID: 1306 // (get) Token: 0x060023E9 RID: 9193 RVA: 0x00016E60 File Offset: 0x00015060 // (set) Token: 0x060023EA RID: 9194 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x1700051A")] public bool ProduceLegacyHmacValues { [Token(Token = "0x60023E9")] [Address(RVA = "0x4B4FC0", Offset = "0x4B3FC0", VA = "0x1804B4FC0")] get { return default(bool); } [Token(Token = "0x60023EA")] [Address(RVA = "0xC0AB80", Offset = "0xC09B80", VA = "0x180C0AB80")] set { } } // Token: 0x04001425 RID: 5157 [global::Cpp2IlInjected.FieldOffset(Offset = "0x68")] [Token(Token = "0x4001425")] private bool m_useLegacyBlockSize; } }