I am looking for an implementation of FIPS validated or compliant Random Number Generator for PHP 5.6. From what I have seen, random_bytes and random_int are there but they are only available for PHP 7.0 or above. random_bytes uses windows CryptGenRandom API but that is deprecated as well.
https://msdn.microsoft.com/en-us/library/windows/desktop/aa379942(v=vs.85).aspx
There is a third party implementation for PHP 5.6 here:
https://github.com/paragonie/random_compat
but I could not find any reference which states that it is FIPS compliant. We are working on making our product FIPS compliant and would like to use a cryptographically secure random generator that is won't cause issue in FIPS certification and would work on Windows, Linux and Mac.