Which version of UUID should I use?

Kim Trang

New member
Which version of UUID should I use?
Answer
If you need to always generate the same UUID from a given name, you want a version 3 or version 5. … If you need backwards compatibility (with another system that generates UUIDs from names), use this. Version 5: This generates a unique ID from an SHA-1 hash of a namespace and name. This is the preferred version.
 

Tìm kiếm

Back
Top