Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

crypto.randomUUID should generate UUIDv4 with a cryptographically secure RNG (ie not math.random)

Collision of UUIDV4 (which are 122 bits of entropy) are unlikely enough that it should fit most definitions of the word "impossible".

The argument listed in this library README feels like total bullshit to me, I'd avoid using it for this reason alone.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: