简介

本扩展是 mcrypt 库的接口,mcrypt 库提供了对多种块算法的支持, 包括:DES,TripleDES,Blowfish (默认), 3-WAY,SAFER-SK64,SAFER-SK128,TWOFISH,TEA,RC2 以及 GOST,并且支持 CBC,OFB,CFB 和 ECB 密码模式。 甚至,它还支持诸如 RC6 和 IDEA 这两种“非免费”的算法。 默认情况下,CFB/OFB 是 8 比特的。

add a note add a note

User Contributed Notes 3 notes

up
1
c dot light93 at gmail dot com
2 months ago
if you get a "The mcrypt extension is missing" alert somewhere, use
"sudo php5enmod mcrypt" and restart your server to enable it.
up
1
remi at php dot net
26 days 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...)
up
-118
sujithayur at gmail dot com
3 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