Glossary

What is ML-KEM?

ML-KEM is NIST's standardised post-quantum key encapsulation mechanism, FIPS 203, derived from CRYSTALS-Kyber and based on module lattices.

ML-KEM, the Module-Lattice-Based Key-Encapsulation Mechanism, is specified in NIST FIPS 203, published in August 2024. It is derived from CRYSTALS-Kyber, the winner of NIST's post-quantum standardisation process for key establishment. A KEM works differently from Diffie-Hellman: the sender uses the recipient's public key to encapsulate, producing a ciphertext and a shared secret, and the recipient decapsulates the ciphertext with the private key to recover the same secret. FIPS 203 defines three parameter sets, ML-KEM-512, ML-KEM-768 and ML-KEM-1024, with increasing security and size. Security rests on the hardness of the module learning-with-errors problem, which is believed to resist both classical and quantum attacks, unlike the RSA and elliptic-curve problems that Shor's algorithm breaks. The trade-off is size: ML-KEM-768 public keys are 1,184 bytes and ciphertexts are 1,088 bytes, far larger than the 32 bytes of X25519. Because lattice cryptography is younger than elliptic curves, most deployments pair ML-KEM with X25519 in a hybrid so a flaw in one does not break the whole. This matters most for long-lived secrets such as a password vault, which an attacker could store now and try to decrypt later. BotPassword uses an ML-KEM-768 plus X25519 hybrid for sharing envelopes.

Give agents access. Keep the keys.

BotPassword is in early access. Request an invite and we'll email you when your spot opens.