Interface for synchronous ML-KEM operations.
Use the async factory functions createMlKem512, createMlKem768, or createMlKem1024 to create instances that implement this interface.
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.
Use the async factory functions createMlKem512, createMlKem768, or createMlKem1024 to create instances that implement this interface.