Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

32 lines
1.6 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// <summary>Computes a Hash-based Message Authentication Code (HMAC) by using the <see cref="T:System.Security.Cryptography.SHA256" /> hash function.</summary>
// Token: 0x0200040A RID: 1034
[Token(Token = "0x200040A")]
[ComVisible(true)]
public class HMACSHA256 : HMAC
{
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.HMACSHA256" /> class with a randomly generated key.</summary>
// Token: 0x060023DF RID: 9183 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60023DF")]
[Address(RVA = "0xC0A840", Offset = "0xC09840", VA = "0x180C0A840")]
public HMACSHA256()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.HMACSHA256" /> class with the specified key data.</summary>
/// <param name="key">The secret key for <see cref="T:System.Security.Cryptography.HMACSHA256" /> 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.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="key" /> parameter is <see langword="null" />.</exception>
// Token: 0x060023E0 RID: 9184 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60023E0")]
[Address(RVA = "0xC0A790", Offset = "0xC09790", VA = "0x180C0A790")]
public HMACSHA256(byte[] key)
{
}
}
}