Top "Mcrypt" questions

MCrypt, and the accompanying libmcrypt, are intended to be replacements for the old Unix crypt, except that they are under the GPL and support an ever-wider range of algorithms and modes.

Laravel : "mcrypt_decrypt(): The IV parameter must be as long as the blocksize"

I ran composer update on a Laravel application, and now I am getting this error: mcrypt_decrypt(): The IV parameter …

laravel mcrypt
Preparing for removal of Mcrypt in PHP 7.2

So as time moves on mcrypt will go in PHP 7.2. Of course there is an alternative: openssl. I find it …

php openssl mcrypt php-7.1
Mcrypt js encryption value is different than that produced by PHP mcrypt / Mcrypt JS decrypt doesn't work for UTF-8 chars

I have been trying to implement mcrypt encryption/ decryption technique on both server end, PHP and client end. I am …

php encryption mcrypt mcrypt-js
LAMP Laravel ErrorException mcrypt_get_iv_size(): Module initialization failed

I installed laravel in my new pc and i'm getting this error: ErrorException mcrypt_get_iv_size(): Module initialization failed …

laravel mcrypt
mcrypt_encrypt not working properly on PHP 5.6.9

I have the following code which worked fine on PHP 5.5.9. function index() { echo $this->encryptText_3des('TEST','JHHKJH9879'); } …

php encryption mcrypt php-5.6