RFR: 8288050: Add support of SHA-512/224 and SHA-512/256 to the PBKDF2 and PBES2 impls in SunJCE provider [v4]
Valerie Peng
valeriep at openjdk.org
Fri Dec 16 00:20:07 UTC 2022
On Thu, 15 Dec 2022 17:16:35 GMT, Bernd <duke at openjdk.org> wrote:
> BTW while you touch the algorithm documentation, it Liste pkcs#5 which does work with octet strings, but the java api works with char passwords. It should describe that it uses the ucs2 char->bytes method not utf8 (pkcs8 vs pkcs12 if I recommend correctly).
>
> (Or even better allow both as currently i would still need to use BC for a byte representation in better defined utf8)
Allow both would need a separate RFE. I will ask the doc team to document that only ASCII is supported for SunJCE provider for now. Thanks for the comment~
-------------
PR: https://git.openjdk.org/jdk/pull/11339
More information about the security-dev
mailing list