facebook/facebook-php-sdk — pull request #183 by sarciszewski (2014-06-24 19:37:03+00:00)
Title: Improve PRNG, PSR-4 compatibility

I replaced all instances of `md5(uniqid(mt_rand(), true)` with `$this->random(16)` and defined `BaseFacebook::random($bytes)` to call the cryptographically secure psuedorandom number generators provided by the operating systems. This method also checks the return types to try to prevent edge-case failures.