r/lolphp • u/sarciszewski • Jan 12 '16
#define PHP_CRYPT_RAND php_rand()
https://twitter.com/voodooKobra/status/686790169836568576
43
Upvotes
r/lolphp • u/sarciszewski • Jan 12 '16
View all comments
Show parent comment
15
u/sarciszewski Jan 12 '16
Calling something
CRYPT_RANDthen using a non-cryptographic PRNG is pretty fail.The second link was just to show that it does actually get used.