using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Security.Cryptography { /// Computes a Hash-based Message Authentication Code (HMAC) by using the hash function. // Token: 0x020003EE RID: 1006 [Token(Token = "0x20003EE")] [ComVisible(true)] public class HMACSHA256 : HMAC { /// Initializes a new instance of the class with a randomly generated key. // Token: 0x060021D3 RID: 8659 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60021D3")] [Address(RVA = "0x2DA8B60", Offset = "0x2DA7960", VA = "0x182DA8B60")] public HMACSHA256() { } /// 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 64 bytes. If the key is more than 64 bytes long, it is hashed (using SHA-256) to derive a 64-byte key. If it is less than 64 bytes long, it is padded to 64 bytes. /// The parameter is . // Token: 0x060021D4 RID: 8660 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60021D4")] [Address(RVA = "0x2DA8AB0", Offset = "0x2DA78B0", VA = "0x182DA8AB0")] public HMACSHA256(byte[] key) { } } }