What is UUID v3?
Version 3 UUIDs are generated by hashing a namespace identifier and a name using the MD5 algorithm. The result is deterministic: the same namespace and name will always produce the exact same UUID.
Key Features
- Deterministic: Ideal for mapping existing non-UUID identifiers (like URLs or emails) to UUIDs.
- MD5 Hashing: Uses MD5 to hash the namespace and name values.
- Conflict-free: Different names within the same namespace produce different UUIDs.
When to use UUID v3?
Use Version 3 when you need to generate UUIDs from existing data (like domain names) in a predictable way. However, for new applications, UUID v5 (SHA-1) is generally preferred because MD5 is considered cryptographically weaker.