<PackageReference Include="BouncyCastle.Cryptography" Version="2.7.0" />

Org.BouncyCastle.Crypto.Parameters.MLKemParameterSet

public sealed class MLKemParameterSet
The three ML-KEM parameter sets defined by FIPS 203, distinguished by the module-lattice rank k. Each entry binds the textual name to a configured engine that produces the standardised ciphertext and shared-secret sizes.
public static readonly MLKemParameterSet ml_kem_1024

ML-KEM-1024 (NIST Category 5, k = 4).

public static readonly MLKemParameterSet ml_kem_512

ML-KEM-512 (NIST Category 1, k = 2).

public static readonly MLKemParameterSet ml_kem_768

ML-KEM-768 (NIST Category 3, k = 3).

public int EncapsulationLength { get; }

Length in bytes of an ML-KEM encapsulation (ciphertext) for this parameter set.

public string Name { get; }

The textual name of this parameter set (e.g. "ML-KEM-512").

public int SecretLength { get; }

Length in bytes of the shared secret produced by encapsulation/decapsulation (32).