News for hackers. Stuff that matters.
Re:Nanosecond timestamp collisions are common by marcosdumay on Friday July 21, 2023 @12:56PM (#36816302)
Hum, no. You can easily hash numbers from 1 up to the value you see and guess the next value.

If you want a secure identifier, make a random 64 or 128 bits number (a UUID type 4). And do not use this number as an internal identifier, because identifiers performance is all about predictability and low entropy.

Re:Nanosecond timestamp collisions are common by gnulinux on Friday July 21, 2023 @01:05PM (#36816447)
If you use a robust salt, such a randomly generated long salt, attacker won't be able to guess the next hash.