<PackageReference Include="BouncyCastle.Cryptography" Version="2.3.1" />

IEntropySource

public interface IEntropySource
Base interface describing an entropy source for a DRBG.
using System; namespace Org.BouncyCastle.Crypto { public interface IEntropySource { bool IsPredictionResistant { get; } int EntropySize { get; } byte[] GetEntropy(); int GetEntropy(Span<byte> output); } }