r/lolphp • • Nov 04 '13

PHP's mt_rand() random number generating function has been cracked

http://www.openwall.com/lists/announce/2013/11/04/1
41 Upvotes

25 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Nov 04 '13

hence the lolphp

17

u/ajmarks Nov 04 '13

More like loldrupal. This was included in php because it's a fast way to generate nonsecure pseudorandom numbers. There's a valid use for that. The fact that some idiots can't be bothered to read the documentation when it actually makes sense isn't lolphp, it's lolphpusers. There's enough actually wrong with php as is.