-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
8
-
generic
-
generic
ADDITIONAL SYSTEM INFORMATION :
All systems, All operating systems, All Java versions since 1.5
A DESCRIPTION OF THE PROBLEM :
The java.util.UUID class ( https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/UUID.html ) says it implements RFC 4122 ( https://www.ietf.org/rfc/rfc4122.txt ).
The problem I would like to have fixed is that this class only implements UUID type 1,2,3 and 4.
UUID type 5 (essentially type 3 with SHA-1 instead of MD5) is part of RFC4122 (see section 4.1.3 ) is missing from this implementation.
The effect is that if you want this type of UUID all over the internet you find the advise to copy and past some code into your project, which I consider to be a bad solution.
I kindly ask your to implement this UUID type also.
This should be quite simple as it essentially is the same as the Type 3 code with just a different hashing algorithm.
All systems, All operating systems, All Java versions since 1.5
A DESCRIPTION OF THE PROBLEM :
The java.util.UUID class ( https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/UUID.html ) says it implements RFC 4122 ( https://www.ietf.org/rfc/rfc4122.txt ).
The problem I would like to have fixed is that this class only implements UUID type 1,2,3 and 4.
UUID type 5 (essentially type 3 with SHA-1 instead of MD5) is part of RFC4122 (see section 4.1.3 ) is missing from this implementation.
The effect is that if you want this type of UUID all over the internet you find the advise to copy and past some code into your project, which I consider to be a bad solution.
I kindly ask your to implement this UUID type also.
This should be quite simple as it essentially is the same as the Type 3 code with just a different hashing algorithm.
- duplicates
-
JDK-8246516 java.util.UUID should support creation of type-5 name based UUID
-
- New
-