using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// Implements password-based key derivation functionality, PBKDF2, by using a pseudo-random number generator based on .
// Token: 0x020003FC RID: 1020
[Token(Token = "0x20003FC")]
[ComVisible(true)]
public class Rfc2898DeriveBytes : DeriveBytes
{
/// Initializes a new instance of the class using the password and salt size to derive the key.
/// The password used to derive the key.
/// The size of the random salt that you want the class to generate.
/// The specified salt size is smaller than 8 bytes.
/// The password or salt is .
// Token: 0x0600223B RID: 8763 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600223B")]
[Address(RVA = "0x2DF4A80", Offset = "0x2DF3880", VA = "0x182DF4A80")]
public Rfc2898DeriveBytes(string password, int saltSize)
{
}
/// Initializes a new instance of the class using a password, a salt size, and number of iterations to derive the key.
/// The password used to derive the key.
/// The size of the random salt that you want the class to generate.
/// The number of iterations for the operation.
/// The specified salt size is smaller than 8 bytes or the iteration count is less than 1.
/// The password or salt is .
///
/// is out of range. This parameter requires a non-negative number.
// Token: 0x0600223C RID: 8764 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600223C")]
[Address(RVA = "0x2DF4AA0", Offset = "0x2DF38A0", VA = "0x182DF4AA0")]
public Rfc2898DeriveBytes(string password, int saltSize, int iterations)
{
}
/// Initializes a new instance of the class using a password and salt to derive the key.
/// The password used to derive the key.
/// The key salt used to derive the key.
/// The specified salt size is smaller than 8 bytes or the iteration count is less than 1.
/// The password or salt is .
// Token: 0x0600223D RID: 8765 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600223D")]
[Address(RVA = "0x2DF4C80", Offset = "0x2DF3A80", VA = "0x182DF4C80")]
public Rfc2898DeriveBytes(string password, byte[] salt)
{
}
/// Initializes a new instance of the class using a password, a salt, and number of iterations to derive the key.
/// The password used to derive the key.
/// The key salt used to derive the key.
/// The number of iterations for the operation.
/// The specified salt size is smaller than 8 bytes or the iteration count is less than 1.
/// The password or salt is .
// Token: 0x0600223E RID: 8766 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600223E")]
[Address(RVA = "0x2DF4920", Offset = "0x2DF3720", VA = "0x182DF4920")]
public Rfc2898DeriveBytes(string password, byte[] salt, int iterations)
{
}
/// Initializes a new instance of the class using a password, a salt, and number of iterations to derive the key.
/// The password used to derive the key.
/// The key salt used to derive the key.
/// The number of iterations for the operation.
/// The specified salt size is smaller than 8 bytes or the iteration count is less than 1.
/// The password or salt is .
// Token: 0x0600223F RID: 8767 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600223F")]
[Address(RVA = "0x2DF4830", Offset = "0x2DF3630", VA = "0x182DF4830")]
public Rfc2898DeriveBytes(byte[] password, byte[] salt, int iterations)
{
}
/// Gets or sets the number of iterations for the operation.
/// The number of iterations for the operation.
/// The number of iterations is less than 1.
// Token: 0x170004B8 RID: 1208
// (get) Token: 0x06002240 RID: 8768 RVA: 0x00014BE0 File Offset: 0x00012DE0
// (set) Token: 0x06002241 RID: 8769 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170004B8")]
public int IterationCount
{
[Token(Token = "0x6002240")]
[Address(RVA = "0x4730E0", Offset = "0x471EE0", VA = "0x1804730E0")]
get
{
return 0;
}
[Token(Token = "0x6002241")]
[Address(RVA = "0x2DF4E50", Offset = "0x2DF3C50", VA = "0x182DF4E50")]
set
{
}
}
/// Gets or sets the key salt value for the operation.
/// The key salt value for the operation.
/// The specified salt size is smaller than 8 bytes.
/// The salt is .
// Token: 0x170004B9 RID: 1209
// (get) Token: 0x06002242 RID: 8770 RVA: 0x00002082 File Offset: 0x00000282
// (set) Token: 0x06002243 RID: 8771 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170004B9")]
public byte[] Salt
{
[Token(Token = "0x6002242")]
[Address(RVA = "0x2DF4DD0", Offset = "0x2DF3BD0", VA = "0x182DF4DD0")]
get
{
return null;
}
[Token(Token = "0x6002243")]
[Address(RVA = "0x2DF4F30", Offset = "0x2DF3D30", VA = "0x182DF4F30")]
set
{
}
}
/// Returns the pseudo-random key for this object.
/// The number of pseudo-random key bytes to generate.
/// A byte array filled with pseudo-random key bytes.
///
/// is out of range. This parameter requires a non-negative number.
// Token: 0x06002244 RID: 8772 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002244")]
[Address(RVA = "0x2DF4630", Offset = "0x2DF3430", VA = "0x182DF4630", Slot = "5")]
public override byte[] GetBytes(int cb)
{
return null;
}
/// Resets the state of the operation.
// Token: 0x06002245 RID: 8773 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002245")]
[Address(RVA = "0x2DF47C0", Offset = "0x2DF35C0", VA = "0x182DF47C0", Slot = "6")]
public override void Reset()
{
}
/// Releases the unmanaged resources used by the class and optionally releases the managed resources.
///
/// to release both managed and unmanaged resources; to release only unmanaged resources.
// Token: 0x06002246 RID: 8774 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002246")]
[Address(RVA = "0x2DF4260", Offset = "0x2DF3060", VA = "0x182DF4260", Slot = "7")]
protected override void Dispose(bool disposing)
{
}
// Token: 0x06002247 RID: 8775 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002247")]
[Address(RVA = "0x2DF47C0", Offset = "0x2DF35C0", VA = "0x182DF47C0")]
private void Initialize()
{
}
// Token: 0x06002248 RID: 8776 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002248")]
[Address(RVA = "0x2DF42F0", Offset = "0x2DF30F0", VA = "0x182DF42F0")]
private byte[] Func()
{
return null;
}
/// Derives a cryptographic key from the object.
/// The algorithm name for which to derive the key.
/// The hash algorithm name to use to derive the key.
/// The size of the key, in bits, to derive.
/// The initialization vector (IV) to use to derive the key.
/// The derived key.
/// The parameter is incorrect.
/// -or-
/// The cryptographic service provider (CSP) cannot be acquired.
/// -or-
/// The parameter is not a valid algorithm name.
/// -or-
/// The parameter is not a valid hash algorithm name.
// Token: 0x06002249 RID: 8777 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002249")]
[Address(RVA = "0x2DF41C0", Offset = "0x2DF2FC0", VA = "0x182DF41C0")]
public byte[] CryptDeriveKey(string algname, string alghashname, int keySize, byte[] rgbIV)
{
return null;
}
// Token: 0x0400137D RID: 4989
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x400137D")]
private byte[] m_buffer;
// Token: 0x0400137E RID: 4990
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x400137E")]
private byte[] m_salt;
// Token: 0x0400137F RID: 4991
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x400137F")]
private HMACSHA1 m_hmacsha1;
// Token: 0x04001380 RID: 4992
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4001380")]
private byte[] m_password;
// Token: 0x04001381 RID: 4993
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4001381")]
private uint m_iterations;
// Token: 0x04001382 RID: 4994
[global::Cpp2IlInjected.FieldOffset(Offset = "0x34")]
[Token(Token = "0x4001382")]
private uint m_block;
// Token: 0x04001383 RID: 4995
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4001383")]
private int m_startIndex;
// Token: 0x04001384 RID: 4996
[global::Cpp2IlInjected.FieldOffset(Offset = "0x3C")]
[Token(Token = "0x4001384")]
private int m_endIndex;
// Token: 0x04001385 RID: 4997
[Token(Token = "0x4001385")]
private const int BlockSize = 20;
}
}