RFR: 8258588: MD5 MessageDigest in java.util.UUID should be cached

Sean Mullan mullan at openjdk.java.net
Fri Dec 18 19:06:59 UTC 2020


On Fri, 18 Dec 2020 14:42:38 GMT, PROgrm_JARvis <github.com+7693005+JarvisCraft at openjdk.org> wrote:

> > MD5 and DES were removed as SE requirements in JDK 14. See https://bugs.openjdk.java.net/browse/JDK-8214483 for more information. However, there are no plans to remove the implementations from the JDK at this time.
> 
> In this case, should a bug report be filled to require specifying behaviour for `UUID#nameUUIDFromBytes(byte[])` in case of MD5 not being present?

Perhaps it should throw `UnsupportedOperationException`, but I'll defer to someone who works in this area. It may also be useful to support type 5 UUIDs which use SHA-1.

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

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



More information about the security-dev mailing list