Files
27Aug2021-Cpp2IL-Dump/Assembly-CSharp/BestHTTP/SecureProtocol/Org/BouncyCastle/Crypto/Prng/EntropyUtilities.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

35 lines
930 B
C#

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()
{
}
}
}