Ces fonctions permettent d'accéder à la bibliothèque mcrypt, qui dispose d'une grande variété d'algorithmes de chiffrement, tels DES, TripleDES, Blowfish (par défaut), 3-WAY, SAFER-SK64, SAFER-SK128, TWOFISH, TEA, RC2 et GOST en modes CBC, OFB, CFB et ECB. De plus, elles acceptent aussi RC6 et IDEA qui sont considérés comme "non-libres". CFB/OFB est sur 8bit par défaut.

add a note add a note

User Contributed Notes 3 notes

remi at php dot net
1 year ago
This extension rely in libmcrypt which is dead, unmaintained since 2007.

Please don't rely on it, consider switching to well maintained alternatives (openssl, crypt, password hashing functions, phpseclib, password_compat...)
c dot light93 at gmail dot com
1 year ago
if you get a "The mcrypt extension is missing" alert somewhere, use
"sudo php5enmod mcrypt" and restart your server to enable it.
sujithayur at gmail dot com
4 years ago
In linux systems,mcrypt is necessary for installing CMSes like majento. First You need to install the mcrypt library.

If using a Debian-based Linux system, you can run the following commands:

  sudo apt-get install php5-mcrypt

then restart the apache server

  sudo /etc/init.d/apache2 restart
To Top