Cha Cha Variant 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#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
public enum ChaChaVariantRemarks
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
| ChaCha20 | 0 | ChaCha20: 20 rounds (default). This is the standard version used in TLS 1.3, SSH, and other security-critical protocols. |
| ChaCha12 | 1 | ChaCha12: 12 rounds. Provides a balance between security and performance. |
| ChaCha8 | 2 | ChaCha8: 8 rounds. Fastest variant, suitable for non-cryptographic applications where performance is critical. |