m
This commit is contained in:
+34
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Prng
|
||||
{
|
||||
// Token: 0x02001CA4 RID: 7332
|
||||
[Token(Token = "0x2001CA4")]
|
||||
public abstract class EntropyUtilities
|
||||
{
|
||||
// Token: 0x0600B59E RID: 46494 RVA: 0x002748D8 File Offset: 0x00272AD8
|
||||
[Token(Token = "0x600B59E")]
|
||||
[Address(RVA = "0x235A430", Offset = "0x2359430", VA = "0x18235A430")]
|
||||
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: 0x0600B59F RID: 46495 RVA: 0x00274918 File Offset: 0x00272B18
|
||||
[Token(Token = "0x600B59F")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
protected EntropyUtilities()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user