Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Security.​Cryptography.​MLKemAlgorithm
Assembly: System.Security.Cryptography
Inheritance: object → MLKemAlgorithm
Represents a specific algorithm within the ML-KEM family.
Properties
public
int
CiphertextSizeInBytes
Gets the size of the ciphertext for the algorithm, in bytes.
public
int
DecapsulationKeySizeInBytes
Gets the size of the decapsulation key for the algorithm, in bytes.
public
int
EncapsulationKeySizeInBytes
Gets the size of the encapsulation key for the algorithm, in bytes.
public
string
Name
Gets the name of the algorithm.
public
int
PrivateSeedSizeInBytes
Gets the size of the private seed for the algorithm, in bytes.
public
int
SharedSecretSizeInBytes
Gets the size of the shared secret for the algorithm, in bytes.
Methods
public
bool
Equals​(object obj)
obj
The object to compare with the current object.
Returns <code data-dev-comment-type="langword">true</code> if the specified object is equal to the current object; otherwise, <code data-dev-comment-type="langword">false</code> .
Determines whether the specified object is equal to the current object.
public
bool
Equals​(MLKemAlgorithm other)
other
An object to be compared to the current <see cref="T:System.Security.Cryptography.MLKemAlgorithm" /> object.
Returns <see langword="true" /> if the objects are considered equal; otherwise, <see langword="false" /> .
Compares two <see cref="T:System.Security.Cryptography.MLKemAlgorithm" /> objects.
public
int
GetHashCode​() Returns A hash code for the current object.
Serves as the default hash function.
public
string
ToString​() Returns A string that represents the current object.
Returns a string that represents the current object.
protected
void
Finalize​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object