On Mon, 25 Aug 2025 19:09:58 GMT, Sean Mullan <[email protected]> wrote:

>> Weijun Wang has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   8325448: Hybrid Public Key Encryption
>
> src/java.base/share/classes/javax/crypto/spec/HPKEParameterSpec.java line 40:
> 
>> 38:  * This immutable class specifies the set of parameters used with a 
>> {@code Cipher} for the
>> 39:  * <a href="https://www.rfc-editor.org/info/rfc9180";>Hybrid Public Key 
>> Encryption</a>
>> 40:  * (HPKE) algorithm. The <a href=
> 
> I think would be useful to add one or two (but no more) sentences describing 
> HPKE and what it should be used for.

I've added

     * HPKE is a public key encryption scheme for encrypting
     * arbitrary-sized plaintexts to a receiver's public key. It combines a key
     * encapsulation mechanism (KEM), a key derivation function (KDF), and an
     * authenticated encryption with additional data (AEAD) cipher.

These are copied from [the Abstract of RFC 
9180](https://www.rfc-editor.org/rfc/rfc9180.html#abstract) with a few tweaks.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/18411#discussion_r2301430760

Reply via email to