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: 0x020003EB RID: 1003
|
|
[Token(Token = "0x20003EB")]
|
|
[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: 0x060021CC RID: 8652 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60021CC")]
|
|
[Address(RVA = "0x2DA8680", Offset = "0x2DA7480", VA = "0x182DA8680")]
|
|
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: 0x060021CD RID: 8653 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60021CD")]
|
|
[Address(RVA = "0x2DA85D0", Offset = "0x2DA73D0", VA = "0x182DA85D0")]
|
|
public HMACMD5(byte[] key)
|
|
{
|
|
}
|
|
}
|
|
}
|