News for hackers. Stuff that matters.
Re:Should random() be banned? by adrr on Thursday February 11, 2021 @09:51PM (#26110252)
Guids is uuid and they can be interchanged but they all have same concept of creating unique identifiers that won’t ever collide.

It isn’t random is the problem and they are are used everywhere as a secret. People think they are random 122bit value.

Re:Should random() be banned? by Dylan16807 on Thursday February 11, 2021 @09:57PM (#26110286)
No, that's why you need to be specific. v4 is random, other versions aren't.
Re:Should random() be banned? by adrr on Thursday February 11, 2021 @09:59PM (#26110304)
You’re right I’d just looked at the rail implementation. I was basing it on my past knowledge of windows GUID implementation.