Cha Cha.Create Method
Creates a new ChaCha instance from the specified options.
Definition
Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
C#
A new ChaCha instance.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
public static ChaCha Create(
in RandomOptions options
)Parameters
- options RandomOptions
- The initialization options containing seed and stream information.
Return Value
ChaChaA new ChaCha instance.
Remarks
This is the canonical factory method for creating ChaCha instances across all target frameworks.