-
Notifications
You must be signed in to change notification settings - Fork 1
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
Support ULID generation #2
Labels
enhancement
New feature or request
Comments
bgrainger
added a commit
that referenced
this issue
Jul 4, 2023
Signed-off-by: Bradley Grainger <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The ULID spec says:
While an arbitrary 128-bit ULID is not strictly compatible with UUID (because it doesn't set the version and variant bits correctly), it is the case that every UUIDv7 is a valid ULID (because they both use the same 48-bit Unix timestamp and we can ignore the six bits of "randomness" that aren't actually set randomly).
NGuid could provide a method to format a UUIDv7 as a ULID string for interoperability between the two systems.
The text was updated successfully, but these errors were encountered: