ChaChaEngine 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#
public ChaChaEngine(
	int rounds
)

Parameters

rounds  Int32
The number of rounds (8, 12, or 20).

Exceptions

ArgumentExceptionThrown when rounds is not 8, 12, or 20.

See Also