Table of Contents

Class CryptoApiEntropySourceProvider

Namespace
Org.BouncyCastle.Crypto.Prng
Assembly
BouncyCastle.Cryptography.dll
public class CryptoApiEntropySourceProvider : IEntropySourceProvider
Inheritance
CryptoApiEntropySourceProvider
Implements
Inherited Members

Constructors

CryptoApiEntropySourceProvider()

public CryptoApiEntropySourceProvider()

CryptoApiEntropySourceProvider(RandomNumberGenerator, bool)

public CryptoApiEntropySourceProvider(RandomNumberGenerator rng, bool isPredictionResistant)

Parameters

rng RandomNumberGenerator
isPredictionResistant bool

Methods

Get(int)

Return an entropy source providing a block of entropy.

public IEntropySource Get(int bitsRequired)

Parameters

bitsRequired int

The size of the block of entropy required.

Returns

IEntropySource

An entropy source providing bitsRequired blocks of entropy.