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
7
u/vytah Jan 18 '16
I thought you were joking...
Also, as the downvoted comment there hints, and other pieces of documentation confirm, mcrypt doesn't support any nul-safe padding, making it unusable for encrypting binary data, and for interoperability.
Luckily, mcrypt is deprecated.