ramsey/uuid
View on GitHub ↗ ★ 12,631 PHP
:snowflake: A PHP library for generating universally unique identifiers (UUIDs).
4 mentions on Hacker News by 3 people: 0 stories, 4 comments · first 2016-09-06 · latest 2022-07-04
20082026
-
…This function also isn't fork-safe in PHP, and has caused RNG collisions before: https://github.com/ramsey/uuid/issues/80 Consequently, I advise against using this function entirely. random_bytes() is better in every way.
comment by CiPHPerCoder · 2022-07-04 · in Police CyberAlarm Uses Alarming Cryptography -
…using for randomness and forking. (Details here, although it was all fixed years ago of course: https://github.com/ramsey/uuid/issues/80 ) On paper, you should never, ever, ever see a collision when generating a mere million v4 UUIDs a…
comment by Lazare · 2021-05-04 · in Sortable Collision-Free UUIDs -
just make sure you have everything configured correctly on your system if using UUIDs: https://github.com/ramsey/uuid/issues/80 In the types of systems that need UUIDs there is probably no easy way to check for collisions. The prospect of…
comment by deckard1 · 2021-02-20 · in Things you should do now (2011) -
…of failure over the kernel's CSPRNG and doesn't provide defense-in-depth), it isn't thread-safe. https://github.com/ramsey/uuid/issues/80 https://github.com/nodejs/node/issues/5798 There are also some recent IACR papers (linked in the Node…
comment by CiPHPerCoder · 2016-09-06 · in Umbra Privacy Platform