UUID v1 Generator
Generate UUID v1 identifiers that encode the current timestamp. UUID v1 combines a 60-bit timestamp, a 14-bit clock sequence, and a 48-bit node identifier. While they guarantee uniqueness through time ordering, be aware that they can expose generation time and potentially machine information.
Frequently Asked Questions
›What is UUID v1?
UUID v1 encodes a timestamp (100-nanosecond intervals since October 15, 1582), a clock sequence for uniqueness within the same timestamp, and a node ID (originally the MAC address, but often randomized for privacy).
›When should I use UUID v1 vs v4?
Use UUID v1 when you need time-ordered IDs (useful for database indexing) and can tolerate the timestamp being extractable. Use UUID v4 when you need purely random, non-guessable identifiers with no embedded information.
›Is the timestamp extractable from UUID v1?
Yes. Anyone with a UUID v1 can extract the generation timestamp. If this is a privacy concern, use UUID v4 (random) or UUID v7 (timestamp-based but with random bits replacing the node ID).