▲ | 8organicbits 11 hours ago | ||||||||||||||||||||||
> system's security in any way depends on the randomness of a database private key Unlisted URLs, like YouTube videos are a popular example used by a reputable tech company. > UUIDv7 has 6 random bytes Careful. The spec allows 74 bits to be filled randomly. However you are allowed to exchange up to 12 bits for a more accurate timestamp and a counter of up to 42 bits. If you can get a fix on the timestamp and counter, the random portion only provides 20 bits (1M possiblities). Python 3.14rc introduces a UUIDv7 implementation that has only 32 random bits, for example. Basically, you need to see what your implementation does. | |||||||||||||||||||||||
▲ | bearjaws 11 hours ago | parent [-] | ||||||||||||||||||||||
only 32bits, so 4 billion guesses per microsecond... Even if youtube has 1 million videos per microsecond you would never guess them before rate limits. | |||||||||||||||||||||||
|