News for hackers. Stuff that matters.
Re:ULID: Universally Unique Lexicographically Sortable Ident... by sblom on Tuesday December 09, 2025 @04:24PM (#46210871)
I love the aesthetics. The cryptographic strength tradeoffs (against UUIDv7) seem rough for a lot of applications, though.
Re:ULID: Universally Unique Lexicographically Sortable Ident... by jalk on Tuesday December 09, 2025 @05:43PM (#46211763)
Not sure what you mean by cryptographic strength - they are both Unique ID generators, not meant for anything related to cryptography.

UUIDv7 has 62 bits of random data, ULID uses 80 bits, so if anything ULID is "stronger" (meaning less chances of generating the same id within the same millisecond)

Re:ULID: Universally Unique Lexicographically Sortable Ident... by 0x457 on Tuesday December 09, 2025 @07:16PM (#46212492)
UUIDv7 has 74 bits of randomness, not 62, you forgot rand_a portion, so the difference is just 6 bits and only matters within the same millisecond.