ChaChaVariant Enumeration

Specifies the variant of the ChaCha stream cipher algorithm.

Definition

Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
C#
public enum ChaChaVariant

Remarks

The ChaCha cipher supports different numbers of rounds, providing a trade-off between security and performance. ChaCha20 (20 rounds) is the standard version used in TLS 1.3 and other security-critical protocols.

Members

ChaCha200 ChaCha20: 20 rounds (default). This is the standard version used in TLS 1.3, SSH, and other security-critical protocols.
ChaCha121 ChaCha12: 12 rounds. Provides a balance between security and performance.
ChaCha82 ChaCha8: 8 rounds. Fastest variant, suitable for non-cryptographic applications where performance is critical.

See Also