Closed paragonie-scott closed 8 years ago
That's reasonable, however it introduces a dependency on the openssl extension. Please resubmit your patch with a modified composer file that makes the dependency explicit. Also the README has to be reworked a bit.
It might be easier to make https://github.com/paragonie/random_compat a dependency. :)
@gbirke I believe this should work better. :)
openssl_random_pseudo_bytes()
has been available since PHP 5.3.0. Since the PHP 5.4 branch is now "security patches only", you can expect this to be available.