Cha Cha Engine Constructor
Initializes a new ChaCha engine with the specified number of rounds.
Definition
Namespace: Numerics.NET.Random.Engines
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
public ChaChaEngine(
int rounds
)Parameters
- rounds Int32
- The number of rounds (8, 12, or 20).
Exceptions
| Argument | Thrown when rounds is not 8, 12, or 20. |