JDK 21 |
---|
21 b18Fixed |
Blocks :
|
While it's impossible to get a private key out of a public key, one can usually easily calculate a public key from a private key. This is useful for DHKEM implementation where the decapsulator has a private key but the decapsulation process requires the public key encoding to create kem_context used in HKDF.
|