RFR: JDK-8284112 Minor cleanup could be done in javax.crypto

Bradford Wetmore wetmore at openjdk.java.net
Wed Apr 13 06:28:11 UTC 2022


On Tue, 12 Apr 2022 21:59:09 GMT, Mark Powers <duke at openjdk.java.net> wrote:

> JDK-8284112 Minor cleanup could be done in javax.crypto

src/java.base/share/classes/javax/crypto/spec/DESKeySpec.java line 49:

> 47:      * Weak/semi-weak keys copied from FIPS 74.
> 48:      *
> 49:      * "...The first 6 keys have duals different from themselves, hence

Suggest you leave this alone as this is a direct quote from FIPS 74 (page 10).

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

PR: https://git.openjdk.java.net/jdk/pull/8214



More information about the security-dev mailing list