blob: 643f92ef8c05878b6bbccbcba802ee65ee116fa5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
using System;
namespace Org.BouncyCastle.Crypto.Prng
{
/// <summary>
/// Base interface describing a provider of entropy sources.
/// </summary>
public interface IEntropySourceProvider
{
/// <summary>
/// Return an entropy source providing a block of entropy.
/// </summary>
/// <param name="bitsRequired">The size of the block of entropy required.</param>
/// <returns>An entropy source providing bitsRequired blocks of entropy.</returns>
IEntropySource Get(int bitsRequired);
}
}
|