A shim able to wrap any
IRng
as a RandomNumberGenerator
.- Namespace
- RandN
.Compat - Interfaces
- IDisposable
- Base Types
- Random
Number Generator
- Random
Syntax
public sealed class RandomNumberGeneratorShim<TRng> : RandomNumberGenerator, IDisposable
where TRng : ICryptoRng
Type Parameters
Name | Description |
---|---|
TRng |
Constructors
Name | Summary |
---|---|
Random | Constructs a new RandomNumberGenerator wrapper over rng. |
Methods
Name | Return Value | Summary |
---|---|---|
Dispose | void | |
GetBytes | void | |
GetBytes | void | |
GetBytes | void | |
GetNonZeroBytes | void | |
GetNonZeroBytes | void |