<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.
namespace System.Security.Cryptography { public sealed class MLKemAlgorithm : IEquatable<MLKemAlgorithm> { public static MLKemAlgorithm MLKem512 { get; } public static MLKemAlgorithm MLKem768 { get; } public static MLKemAlgorithm MLKem1024 { get; } public string Name { get; } public int EncapsulationKeySizeInBytes { get; } public int DecapsulationKeySizeInBytes { get; } public int CiphertextSizeInBytes { get; } public int SharedSecretSizeInBytes { get; } public int PrivateSeedSizeInBytes { get; } public bool Equals(MLKemAlgorithm other); public static bool operator ==(MLKemAlgorithm left, MLKemAlgorithm right); public static bool operator !=(MLKemAlgorithm left, MLKemAlgorithm right); } }