Hacker GitHub

← All repos

paragonie/random_compat

View on GitHub ↗ ★ 8,147 PHP

PHP 5.x support for random_bytes() and random_int()

17 mentions on Hacker News by 3 people: 6 stories, 11 comments · first 2015-07-11 · latest 2017-02-06

Mentions per year 17 mentions · busiest year 2015 (10)
20082026
  1. …accepted interface for generating cryptographically secure random numbers in PHP 5 projects: https://github.com/paragonie/random_compat And coming soon (pending an audit), a pure-PHP implementation of libsodium that will likely be adopted…
    comment by CiPHPerCoder · 2017-02-06 · in Sandstorm is returning to its community roots
  2. …introduced in PHP 7; this security library has over 19 million installs according to Packagist - https://github.com/paragonie/random_compat - sodium_compat - A pure-PHP implementation of much of modern elliptic curve cryptography and…
  3. …Packagist downloads and has been integrated in all the major frameworks that still support PHP 5. https://github.com/paragonie/random_compat https://packagist.org/packages/paragonie/random_compat Despite being incredibly useful tool, there…
    comment by CiPHPerCoder · 2016-06-09 · in Ask HN: Patreon for open source?
  4. …- Halite: A PHP libsodium wrapper that emphasizes ease-of-use, secure defaults, and type-safety. * https://github.com/paragonie/random_compat Random_compat: Use the new PHP 7 CSPRNG functions in PHP 5 projects. *…
  5. …use secp384r1 for signing random_compat, so if anyone gets bit by this recommendation, I will too: https://github.com/paragonie/random_compat/blob/master/dist/...
    comment by CiPHPerCoder · 2016-03-01 · in The DROWN Attack
  6. …At the risk of sounding self-promotional to on-lookers, I'd like to talk about one in particular: https://github.com/paragonie/random_compat https://packagist.org/packages/paragonie/random_compat Random_compat has been downloaded almost 2…
    comment by sarciszewski · 2016-02-05 · in GitHub is apparently in crisis again
  7. …:P Though if you use random_compat[1] it might be the same function ;) [1]: https://github.com/paragonie/random_compat
  8. …you want to use this interface in a project that needs to be compatible with PHP 5, there's always https://github.com/paragonie/random_compat
    comment by sarciszewski · 2015-12-02 · in PHP 7 Released
  9. ▲ 2
    Show HN: Use PHP7's CSPRNG Functions in PHP5 Projects
    story by paragon_init · 2015-09-18 · 0 comments
  10. ▲ 2
    Show HN: Random_compat – Use PHP7's CSPRNG Functions in PHP5 Projects
    story by paragon_init · 2015-09-07 · 0 comments
  11. …In my projects, I go out of my way to thank people regardless of how much they contribute. See https://github.com/paragonie/random_compat for example. Some of the peoples' names are there because they led the way towards great…
  12. ▲ 7
    Show HN: Polyfill for random_bytes() and random_int() in PHP 5 projects
    story by paragon_init · 2015-08-06 · 1 comment
  13. …allows you to accept any arbitrary charset size without being concerned about security. See also: https://github.com/paragonie/random_compat/blob/5aa6689651a5... I'll open a PR tonight if nobody beats me to it.
  14. ▲ 1
    PHP 5 – Which Random Sources You Should Trust, by Order of Preference
    story by sarciszewski · 2015-07-24 · 1 comment
  15. …file and start writing code for PHP 7. It's MIT licensed and should nearing its 1.0.0 release soon. https://github.com/paragonie/random_compat
  16. ▲ 1
    PHP – openssl_random_pseudo_bytes considered harmful
    story by sarciszewski · 2015-07-16 · 0 comments
  17. ▲ 8
    Ask HN: Where to Learn Rudimentary Marketing Skills?
    story by sarciszewski · 2015-07-11 · 8 comments