For some reason, I have to make UUIDs that are same when same strings are input like below.
UUID.nameUUIDFromBytes(str.getBytes());
What I want to know is this new UUID satisfy below conditions.
- As far as input strs are same, I can get the same generated UUIDs.
- As far as input strs are different, the generated UUIDs must be different.
- Is there any chance that randomly created UUIDs that are created by Time-based UUID can be duplicate with this new UUID.
I checked those in the UUID docs but I want a more confirmation as deployment without those conditions can make our system disaster.