You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// PHP 5.6 made mcrypt_encrypt() a lot less tolerant of bad input but it neglected to change// anything about mcrypt_generic(). and despite the changes insufficiently long plaintext// is still accepted.
Despite producing warning error, mcrypt still produce a result for mcrypt_encrypt on php5.4, phpseclib_mcrypt_encrypt does not.
In short the following code does not produce the same result :
Results here : http://sandbox.onlinephpfunctions.com/code/931a527873bfcaca5a1837993cb180c7b6843716
The text was updated successfully, but these errors were encountered: