RandomLib icon indicating copy to clipboard operation
RandomLib copied to clipboard

A library for generating random numbers and strings

Results 24 RandomLib issues
Sort by recently updated
recently updated
newest added

Hello, I've been using this library for some years, and recently I noticed that PHP just added a [getBytesFromString](https://www.php.net/manual/en/random-randomizer.getbytesfromstring.php) function. So I was wondering if I could replace the usage...

We ran into a problem where some MacOS metadata files (see https://apple.stackexchange.com/questions/14980/why-are-dot-underscore-files-created-and-how-can-i-avoid-them) got included in the deployment to production. This broke the library because files like `vendor/ircmaxell/random-lib/lib/RandomLib/Mixer/._McryptRijndael128.php` existed, and `AbstractFactory::loadFiles()`...

OS: Windows randrange gives security issue. It is less secured to use this function. If it gets integrated with os.urandom, which is a cryprographic PRNG method, it would provide higher...

When running RandomLib 1.2.0 under PHP 7.1, the following warning appears: ``` Function mcrypt_module_open() is deprecated ``` https://wiki.php.net/rfc/mcrypt-viking-funeral

Somewhat typical situation with a password is that it should not be totally random - it should for example contain one number, one lowercase character and one uppercase character. Or...

Also the non-pseudo mode is not as secure as you might think (so IMHO a "high" level is too much): > [... The] OpenSSL docs deprecate RAND_pseudo_bytes, but I wondered...

trying to use getHighStrengthGenerator `PHP Fatal error: Uncaught RuntimeException: Could not find mixer in xxx/vendor/ircmaxell/random-lib/lib/RandomLib/Factory.php:237 ` It will be nice to have a "high" strength mixer, not from mcrypt (especially...

When i use this library,it get error ( ! ) Fatal error: Class 'SecurityLib\AbstractFactory' not found in C:\wamp64\www\test\RandomLib-master\lib\RandomLib\Factory.php on line 43