On Wed, 23 Nov 2022 23:39:03 GMT, Valerie Peng <[email protected]> wrote:
> This RFE enhances existing PBE algorithms with the "SHA512/224" and
> "SHA512/256" support.
> Current transformation parsing in javax.crypto.Cipher class is re-written to
> handle the additional "/" in the "SHA512/224" and "SHA512/256" algorithm
> names. Existing tests are updated with the additional new algorithms.
src/java.base/share/classes/com/sun/crypto/provider/PBEKeyFactory.java line 180:
> 178: public static final class PBEWithHmacSHA512_256AndAES_128
> 179: extends PBEKeyFactory {
> 180: public PBEWithHmacSHA512_256AndAES_128() {
Nit:
Suggestion:
public PBEWithHmacSHA512_256AndAES_128() {
-------------
PR: https://git.openjdk.org/jdk/pull/11339