Package net.jrodolfo.java_evolution.java21.key_encapsulation
package net.jrodolfo.java_evolution.java21.key_encapsulation
Executable examples for the Java 21 Key Encapsulation Mechanism API.
The package demonstrates the sender/receiver flow from JEP 452 with
javax.crypto.KEM, DHKEM, and an X25519 key pair.
-
ClassDescriptionHolds the two pieces produced by the sender side of a KEM exchange.Represents the receiver side of a Java 21 KEM exchange.Represents the sender side of a Java 21 KEM exchange.Demonstrates the full Java 21 Key Encapsulation Mechanism API flow.Captures the observable result of the KEM exchange for tests and readers.