paragonie/random_compat
This system is a PHP library that provides a polyfill for the PHP 7 random_* API, enabling secure random number generation on older PHP 5.x versions. It implements multiple cryptographic backends, including libsodium and /dev/urandom, to ensure compatibility across diverse environments. The project includes comprehensive test suites to validate statistical distribution, compression ratios, and edge cases for all supported CSPRNG sources.
46.8
Weak · 2 August 2026
1.4k
lines of production code
PHP
primary language
1
bus factor · 40 authors in all
3
measurements over time
Survey your own repository
paragonie/random_compat was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.
About this page
- The description of this project is derived from its own commit history, not from its README.
- The score is its highest published measurement, taken on 2 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit b5d188cc9d — the exact code this score is about.
- Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.