IRandomGenerator Interface

Definition

Namespace: Org.BouncyCastle.Crypto.Prng
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
public interface IRandomGenerator

Remarks

Generic interface for objects generating random bytes.

Methods

AddSeedMaterial(Byte)Add more seed material to the generator.
AddSeedMaterial(Int64)Add more seed material to the generator.
AddSeedMaterial(ReadOnlySpanByte) 
NextBytes(Byte)Fill byte array with random values.
NextBytes(SpanByte) 
NextBytes(Byte, Int32, Int32)Fill byte array with random values.

See Also