ML-KEM key generation using @noble/post-quantum.
Always uses
ML-KEM security level (512, 768, or 1024).
Raw public and secret key bytes.
regardless of native availability because native generateKeyPairSync returns DER-wrapped KeyObject instances that are not byte-compatible with the rest of this library.
generateKeyPairSync
const { publicKey, secretKey } = bridgedMlKemKeygen(768); Copy
const { publicKey, secretKey } = bridgedMlKemKeygen(768);
ML-KEM key generation using @noble/post-quantum.
Always uses