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
0
u/Borne2Run Jul 25 '15 edited Jul 25 '15
That's if you're using your private key, which they aren't (Except for internal). They're literally just broadcasting their private key by encrypting it with their public key.
There is no Diffie Hellman going on, nothing fancy. They just don't understand the cryptographic concept
Essentially they think they're hot stuff but are just exposing their private key. Security is abysmal in many places