PHP 5.x support for random_bytes() and random_int()
Backported changes from version 2:
random_int()
caused by misusing
the library (really you should only ever include lib/random.php
and never any
of the other files). See #125.mcrypt_create_iv()
from being used.
See #111.lib/error_polyfill.php
to resolve corner cases.More Psalm integration fixes.
Prevent function already declared error for random_int()
caused by misusing the library (really you should only ever include lib/random.php
and never any of the other files). See #125.
Apparently psalm locally works, but psalm on Travis CI likes to randomly fail to recognize that a constant exists when it does.
Yeah.... no.
I didn't bother updating the changelog. It's a ditto for 2.0.6.
mcrypt_create_iv()
from being used.
See #111.Please speak up if this change causes issues for you.