Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use UUID version 3 or 5 to generate resource identifiers #92

Closed
ghost opened this issue Oct 7, 2020 · 0 comments
Closed

Use UUID version 3 or 5 to generate resource identifiers #92

ghost opened this issue Oct 7, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 7, 2020

Provided the IR context we can generate the UUIDs that will not change when regenerated.

String context = "/some/path/to/resource";
System.out.println(context + ": " + UUID.nameUUIDFromBytes(context.getBytes()));
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants