kyzer-davis
Re:TIL: Versions of UUID and when to use them
on Wednesday September 04, 2024 @05:44PM (#41451201)
The appendix details how one can do a sha256 style v8 algo that is basically v5 with the algorithm swapped.
In theory one could do this for any hashing algorithm.
https://www.rfc-editor.org/rfc/rfc9562.html#name-example-of-...
Though I am working on a way to solve this problem with UUIDs beyond 128 bits so we don't have to truncate the hash.
Re:TIL: Versions of UUID and when to use them
on Wednesday September 04, 2024 @05:37PM (#41451144)
We are working on standardizing an alternate encoding technique for the 128 bit UUID so it can have a shorter text form.
You can the discussions here: https://github.com/uuid6/new-uuid-encoding-techniques-ietf-d...
Re:TIL: Versions of UUID and when to use them
on Wednesday September 04, 2024 @05:34PM (#41451119)
> Only no known details if the only document you're reading is the notoriously poorly-specified RFC
To be fair, in RFC9562 I did cite two documents that are UUID Version 2 specifications. But RFC4122 was too cryptic for my taste.
As for the historical UUID types specified by the 0-7 Variant space: We are starting work on an informational RFC that will help folks understand those.
See https://github.com/yocto/draft-yocto-uuid if you want to add to some discussions and/or review text. We are still a bit early into the stages but I hope to have some progress soon.