oh dear
This commit is contained in:
@@ -0,0 +1,131 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Security.Cryptography
|
||||
{
|
||||
/// <summary>Implements a cryptographic Random Number Generator (RNG) using the implementation provided by the cryptographic service provider (CSP). This class cannot be inherited.</summary>
|
||||
// Token: 0x02000428 RID: 1064
|
||||
[Token(Token = "0x2000428")]
|
||||
public sealed class RNGCryptoServiceProvider : RandomNumberGenerator
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.RNGCryptoServiceProvider" /> class.</summary>
|
||||
// Token: 0x060023E7 RID: 9191 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60023E7")]
|
||||
[Address(RVA = "0x2DB3DF0", Offset = "0x2DB2BF0", VA = "0x182DB3DF0")]
|
||||
public RNGCryptoServiceProvider()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.RNGCryptoServiceProvider" /> class.</summary>
|
||||
/// <param name="rgb">A byte array. This value is ignored.</param>
|
||||
// Token: 0x060023E8 RID: 9192 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60023E8")]
|
||||
[Address(RVA = "0x2DB3D70", Offset = "0x2DB2B70", VA = "0x182DB3D70")]
|
||||
public RNGCryptoServiceProvider(byte[] rgb)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.RNGCryptoServiceProvider" /> class with the specified parameters.</summary>
|
||||
/// <param name="cspParams">The parameters to pass to the cryptographic service provider (CSP).</param>
|
||||
// Token: 0x060023E9 RID: 9193 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60023E9")]
|
||||
[Address(RVA = "0x2DB3F30", Offset = "0x2DB2D30", VA = "0x182DB3F30")]
|
||||
public RNGCryptoServiceProvider(CspParameters cspParams)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.RNGCryptoServiceProvider" /> class.</summary>
|
||||
/// <param name="str">The string input. This parameter is ignored.</param>
|
||||
// Token: 0x060023EA RID: 9194 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60023EA")]
|
||||
[Address(RVA = "0x2DB3E60", Offset = "0x2DB2C60", VA = "0x182DB3E60")]
|
||||
public RNGCryptoServiceProvider(string str)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060023EB RID: 9195 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60023EB")]
|
||||
[Address(RVA = "0x2DB3850", Offset = "0x2DB2650", VA = "0x182DB3850")]
|
||||
private void Check()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060023EC RID: 9196 RVA: 0x00015528 File Offset: 0x00013728
|
||||
[Token(Token = "0x60023EC")]
|
||||
[Address(RVA = "0x2532F40", Offset = "0x2531D40", VA = "0x182532F40")]
|
||||
private static bool RngOpen()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060023ED RID: 9197 RVA: 0x00015540 File Offset: 0x00013740
|
||||
[Token(Token = "0x60023ED")]
|
||||
[Address(RVA = "0x2DB3CF0", Offset = "0x2DB2AF0", VA = "0x182DB3CF0")]
|
||||
private static IntPtr RngInitialize(byte[] seed)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060023EE RID: 9198 RVA: 0x00015558 File Offset: 0x00013758
|
||||
[Token(Token = "0x60023EE")]
|
||||
[Address(RVA = "0x2DB3CE0", Offset = "0x2DB2AE0", VA = "0x182DB3CE0")]
|
||||
private static IntPtr RngGetBytes(IntPtr handle, byte[] data)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060023EF RID: 9199 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60023EF")]
|
||||
[Address(RVA = "0x2DB3CD0", Offset = "0x2DB2AD0", VA = "0x182DB3CD0")]
|
||||
private static void RngClose(IntPtr handle)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Fills an array of bytes with a cryptographically strong sequence of random values.</summary>
|
||||
/// <param name="data">The array to fill with a cryptographically strong sequence of random values.</param>
|
||||
/// <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider (CSP) cannot be acquired.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="data" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x060023F0 RID: 9200 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60023F0")]
|
||||
[Address(RVA = "0x2DB39C0", Offset = "0x2DB27C0", VA = "0x182DB39C0", Slot = "6")]
|
||||
public override void GetBytes(byte[] data)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Fills an array of bytes with a cryptographically strong sequence of random nonzero values.</summary>
|
||||
/// <param name="data">The array to fill with a cryptographically strong sequence of random nonzero values.</param>
|
||||
/// <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider (CSP) cannot be acquired.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="data" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x060023F1 RID: 9201 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60023F1")]
|
||||
[Address(RVA = "0x2DB3B70", Offset = "0x2DB2970", VA = "0x182DB3B70", Slot = "8")]
|
||||
public override void GetNonZeroBytes(byte[] data)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060023F2 RID: 9202 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60023F2")]
|
||||
[Address(RVA = "0x2DB38F0", Offset = "0x2DB26F0", VA = "0x182DB38F0", Slot = "1")]
|
||||
protected override void Finalize()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060023F3 RID: 9203 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60023F3")]
|
||||
[Address(RVA = "0x2DB38E0", Offset = "0x2DB26E0", VA = "0x182DB38E0", Slot = "5")]
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400145B RID: 5211
|
||||
[Token(Token = "0x400145B")]
|
||||
private static object _lock;
|
||||
|
||||
// Token: 0x0400145C RID: 5212
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400145C")]
|
||||
private IntPtr _handle;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user