Interface for decapsulation of ML-KEM with the private key which the instance holds.
Use the async factory functions createMlKem512Decapsulator, createMlKem768Decapsulator, or createMlKem1024Decapsulator to create instances that implement this interface, or generateMlKem768Decapsulator and the like for a key pair which is used once.
Decapsulates: returns sharedSecret.
Erases the private key which the instance holds. decap rejects after this.
decap
Interface for decapsulation of ML-KEM with the private key which the instance holds.
Use the async factory functions createMlKem512Decapsulator, createMlKem768Decapsulator, or createMlKem1024Decapsulator to create instances that implement this interface, or generateMlKem768Decapsulator and the like for a key pair which is used once.