<PackageReference Include="Microsoft.Bcl.Cryptography" Version="11.0.0-preview.6.26359.118" />

System.Security.Cryptography.MLKemAlgorithm

public sealed class MLKemAlgorithm : IEquatable<MLKemAlgorithm>
Represents a specific algorithm within the ML-KEM family.
public static MLKemAlgorithm MLKem1024 { get; }

Gets an ML-KEM algorithm identifier for the ML-KEM-1024 algorithm.

public static MLKemAlgorithm MLKem512 { get; }

Gets an ML-KEM algorithm identifier for the ML-KEM-512 algorithm.

public static MLKemAlgorithm MLKem768 { get; }

Gets an ML-KEM algorithm identifier for the ML-KEM-768 algorithm.

public int CiphertextSizeInBytes { get; }

Gets the size of the ciphertext for the algorithm, in bytes.

public int DecapsulationKeySizeInBytes { get; }

Gets the size of the decapsulation key for the algorithm, in bytes.

public int EncapsulationKeySizeInBytes { get; }

Gets the size of the encapsulation key for the algorithm, in bytes.

public string Name { get; }

Gets the name of the algorithm.

public int PrivateSeedSizeInBytes { get; }

Gets the size of the private seed for the algorithm, in bytes.

public int SharedSecretSizeInBytes { get; }

Gets the size of the shared secret for the algorithm, in bytes.

public static bool op_Equality(MLKemAlgorithm left, MLKemAlgorithm right)

Determines whether two MLKemAlgorithm objects specify the same algorithm name.

public static bool op_Inequality(MLKemAlgorithm left, MLKemAlgorithm right)

Determines whether two MLKemAlgorithm objects do not specify the same algorithm name.

public bool Equals(MLKemAlgorithm other)

Compares two MLKemAlgorithm objects.