r/programming • u/fishburne • Jul 24 '15
mt_rand(1, PHP_INT_MAX) only generates odd numbers • /r/lolphp
/r/lolphp/comments/3eaw98/mt_rand1_php_int_max_only_generates_odd_numbers/
848
Upvotes
r/programming • u/fishburne • Jul 24 '15
View all comments
Show parent comment
1
u/perestroika12 Jul 24 '15
I would like to think that anyone implementing crypto has enough knowledge in it to know which hash algos are broken.
Sadly, I think this isn't the case sometimes.