public class XWingKEMGenerator extends java.lang.Object implements EncapsulatedSecretGenerator
X-Wing is a general-purpose hybrid post-quantum/traditional KEM that combines X25519 and ML-KEM-768, as specified in the IETF draft: draft-connolly-cfrg-xwing-kem-07.
This class facilitates the generation of ciphertexts and shared secrets using a recipient's public key.
| Constructor and Description |
|---|
XWingKEMGenerator(java.security.SecureRandom random) |
| Modifier and Type | Method and Description |
|---|---|
SecretWithEncapsulation |
generateEncapsulated(AsymmetricKeyParameter recipientKey)
Generate secret/encapsulation based on the recipient public key.
|
public SecretWithEncapsulation generateEncapsulated(AsymmetricKeyParameter recipientKey)
EncapsulatedSecretGeneratorgenerateEncapsulated in interface EncapsulatedSecretGenerator