Class ModuleLatticeKemExample

java.lang.Object
net.jrodolfo.java_evolution.java24.quantum_resistant_crypto.ModuleLatticeKemExample

public class ModuleLatticeKemExample extends Object
Demonstrates Java 24 module-lattice key encapsulation support.

ML-KEM is a post-quantum key encapsulation mechanism. Like the Java 21 KEM example, the sender uses the receiver's public key to create a shared secret and an encapsulation message. The receiver uses the private key and the encapsulation message to recover the same shared secret.