32 lines
1.5 KiB
C#
32 lines
1.5 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.MD5" /> hash function.</summary>
|
|
// Token: 0x02000407 RID: 1031
|
|
[Token(Token = "0x2000407")]
|
|
[ComVisible(true)]
|
|
public class HMACMD5 : HMAC
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.HMACMD5" /> class by using a randomly generated key.</summary>
|
|
// Token: 0x060023D8 RID: 9176 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60023D8")]
|
|
[Address(RVA = "0xC0A360", Offset = "0xC09360", VA = "0x180C0A360")]
|
|
public HMACMD5()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.HMACMD5" /> class by using the specified key.</summary>
|
|
/// <param name="key">The secret key for <see cref="T:System.Security.Cryptography.HMACMD5" /> encryption. The key can be any length, but if it is more than 64 bytes long it will be hashed (using SHA-1) to derive a 64-byte key. Therefore, the recommended size of the secret key is 64 bytes.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">The <paramref name="key" /> parameter is <see langword="null" />.</exception>
|
|
// Token: 0x060023D9 RID: 9177 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60023D9")]
|
|
[Address(RVA = "0xC0A2B0", Offset = "0xC092B0", VA = "0x180C0A2B0")]
|
|
public HMACMD5(byte[] key)
|
|
{
|
|
}
|
|
}
|
|
}
|