phpseclib/phpseclib — pull request #373 by terrafrost (2014-06-14 19:08:15+00:00)
Title: BigInteger: make it so you can do $min->random($max)

...and $min->randomPrime($max) as well