RFR: 8325448: Hybrid Public Key Encryption [v28]
Weijun Wang
weijun at openjdk.org
Thu Aug 14 17:28:15 UTC 2025
On Thu, 14 Aug 2025 17:01:02 GMT, Weijun Wang <weijun at openjdk.org> wrote:
>> Sounds good. How is this worth doing? I'll need a `CharsetDecoder` with all error input reporting on and then catch the exception.
>
> One known user of HPKE -- [Encrypted ClientHello](https://datatracker.ietf.org/doc/html/draft-ietf-tls-esni-25#name-offering-ech) -- uses `"tls ech" || 0x00 || ECHConfig` and it's binary (at least you see an 0x00 there).
In fact, if I output a string format here, I would rather only do it for pure ASCII strings. Some Unicode characters are just not distinguishable from human eyes. Then the check can be very simple.
Do you prefer showing both? I mean, info=41424344 ("ABCD").
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18411#discussion_r2277271108
More information about the security-dev
mailing list