#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) #pragma warning disable using System; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto { /// /// Base interface describing an entropy source for a DRBG. /// public interface IEntropySource { /// /// Return whether or not this entropy source is regarded as prediction resistant. /// /// true if this instance is prediction resistant; otherwise, false. bool IsPredictionResistant { get; } /// /// Return a byte array of entropy. /// /// The entropy bytes. byte[] GetEntropy(); /// /// Return the number of bits of entropy this source can produce. /// /// The size, in bits, of the return value of getEntropy. int EntropySize { get; } } } #pragma warning restore #endif