Interface for synchronous ML-KEM operations which take the keys.
Use MlKemEncapsulatorInterface and MlKemDecapsulatorInterface instead. This interface will be removed in 4.0.0, with createMlKem512, createMlKem768 and createMlKem1024, which create instances that implement it.
Decapsulates: returns sharedSecret.
Derives a keypair [publicKey, privateKey] deterministically from a 64-octet seed.
Encapsulates: returns [ciphertext, sharedSecret].
Optional
Generates a keypair [publicKey, privateKey].
Interface for synchronous ML-KEM operations which take the keys.
Deprecated
Use MlKemEncapsulatorInterface and MlKemDecapsulatorInterface instead. This interface will be removed in 4.0.0, with createMlKem512, createMlKem768 and createMlKem1024, which create instances that implement it.