paragonie/random_compat
PHP 5.x support for random_bytes() and random_int()
7 best points · 2 comments · 5 Hacker News posts · 8,147 GitHub stars · View on GitHub
Hacker News discussions
- Show HN: Polyfill for random_bytes() and random_int() in PHP 5 projects (7 points, 1 comments, by paragon_init, 2015-08-06)
- Show HN: Random_compat – Use PHP7's CSPRNG Functions in PHP5 Projects (2 points, 0 comments, by paragon_init, 2015-09-07)
- Show HN: Use PHP7's CSPRNG Functions in PHP5 Projects (2 points, 0 comments, by paragon_init, 2015-09-18)
- PHP – openssl_random_pseudo_bytes considered harmful (1 points, 0 comments, by sarciszewski, 2015-07-16)
- PHP 5 – Which Random Sources You Should Trust, by Order of Preference (1 points, 1 comments, by sarciszewski, 2015-07-24)