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

Update Utils.generateUUID() to generate UUIDs conforming to RFC 4122 V4 #300

Merged
merged 2 commits into from Aug 29, 2022

Conversation

tmancill
Copy link
Contributor

This PR addresses the issue @Steven-M-Brown raised in #292 (comment). The code in #292 will generate UUIDs that don't conform to RFC 4122.

The logic in Utils.generateUUID() is verbose because I thought it best to adhere as closely to the logic in UUID.randomUUID() and the UUID(byte[]) constructor signature as possible.

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

Successfully merging this pull request may close these issues.

None yet

2 participants