oh dear
This commit is contained in:
+34
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Prng
|
||||
{
|
||||
// Token: 0x02001BC4 RID: 7108
|
||||
[Token(Token = "0x2001BC4")]
|
||||
public abstract class EntropyUtilities
|
||||
{
|
||||
// Token: 0x0600B1D0 RID: 45520 RVA: 0x0026B714 File Offset: 0x00269914
|
||||
[Token(Token = "0x600B1D0")]
|
||||
[Address(RVA = "0x1896A40", Offset = "0x1895840", VA = "0x181896A40")]
|
||||
public static byte[] GenerateSeed(IEntropySource entropySource, int numBytes)
|
||||
{
|
||||
byte[] array = new byte[numBytes];
|
||||
int num = 0;
|
||||
if (numBytes > 0)
|
||||
{
|
||||
int num2 = Math.Min(array.Length, numBytes);
|
||||
int num3 = 0;
|
||||
Array.Copy(array, num3, array, num, num2);
|
||||
num += num2;
|
||||
}
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x0600B1D1 RID: 45521 RVA: 0x0026B754 File Offset: 0x00269954
|
||||
[Token(Token = "0x600B1D1")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected EntropyUtilities()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user