m
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Security.Cryptography
|
||||
{
|
||||
/// <summary>Computes a Hash-based Message Authentication Code (HMAC) using the <see cref="T:System.Security.Cryptography.SHA1" /> hash function.</summary>
|
||||
// Token: 0x02000409 RID: 1033
|
||||
[Token(Token = "0x2000409")]
|
||||
[ComVisible(true)]
|
||||
public class HMACSHA1 : HMAC
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.HMACSHA1" /> class with a randomly generated key.</summary>
|
||||
// Token: 0x060023DC RID: 9180 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60023DC")]
|
||||
[Address(RVA = "0xC0A6A0", Offset = "0xC096A0", VA = "0x180C0A6A0")]
|
||||
public HMACSHA1()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.HMACSHA1" /> class with the specified key data.</summary>
|
||||
/// <param name="key">The secret key for <see cref="T:System.Security.Cryptography.HMACSHA1" /> encryption. The key can be any length, but if it is more than 64 bytes long it is 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: 0x060023DD RID: 9181 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60023DD")]
|
||||
[Address(RVA = "0xC0A5F0", Offset = "0xC095F0", VA = "0x180C0A5F0")]
|
||||
public HMACSHA1(byte[] key)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.HMACSHA1" /> class with the specified key data and a value that specifies whether to use the managed version of the SHA1 algorithm.</summary>
|
||||
/// <param name="key">The secret key for <see cref="T:System.Security.Cryptography.HMACSHA1" /> encryption. The key can be any length, but if it is more than 64 bytes long, it is hashed (using SHA-1) to derive a 64-byte key. Therefore, the recommended size of the secret key is 64 bytes.</param>
|
||||
/// <param name="useManagedSha1">
|
||||
/// <see langword="true" /> to use the managed implementation of the SHA1 algorithm (the <see cref="T:System.Security.Cryptography.SHA1Managed" /> class); <see langword="false" /> to use the unmanaged implementation (the <see cref="T:System.Security.Cryptography.SHA1CryptoServiceProvider" /> class).</param>
|
||||
// Token: 0x060023DE RID: 9182 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60023DE")]
|
||||
[Address(RVA = "0xC0A5F0", Offset = "0xC095F0", VA = "0x180C0A5F0")]
|
||||
public HMACSHA1(byte[] key, bool useManagedSha1)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user