Dependências

Essas funções utilizam » mcrypt. Para utilizá-lo, faça o download do libmcrypt-x.x.tar.gz em » http://mcrypt.sourceforge.net/ e siga as instruções de instalação incluídas.

A versão 2.5.6 ou superior do libmcrypt é necessária.

Usuários do Windows encontrarão a biblioteca nas versões binárias do PHP 5.2. As versões binárias do PHP 5.3 utilizam a versão estática da biblioteca MCrypt, sem a necessidade de DLLs.

Se você vinculou com libmcrypt 2.4.x ou superior, os seguintes algoritmos de bloco adicionais são suportados: CAST, LOKI97, RIJNDAEL, SAFERPLUS, SERPENT, e os seguintes cifradores de fluxo: ENIGMA (crypt), PANAMA, RC4 e WAKE. Com libmcrypt 2.4.x ou superior, um outro modo de cifragem também está disponível; nOFB.

add a note add a note

User Contributed Notes 5 notes

up
1
Antoine
13 years ago
mcrypt is built in for PHP 5.3.x on windows, you don't need to do anything with a dll anymore.
up
-1
jcwebb at dicoe dot com
10 years ago
there are no instructions included with the sourceforge download.

After php 5.3 mcrypt is automatically included and enabled.
(i was looking to enable an extension)
up
-2
Anonymous
12 years ago
Both mcrypt and libmcrypt are available through the linked website.  You simply have to click the "Browse all files" or similar link once on the "development site" and not just look for the default Sourceforge download button.
up
-4
tom420 dot duhamel at gmail dot com
15 years ago
If installing libmcrypt from RPM, you need both libmcrypt*.rpm and libmcrypt-devel*.rpm. I found RPMs for both were available for most platforms on this page:

http://rpmforge.net/user/packages/libmcrypt/

Also files.edin.dk does not seem to carry the win32 files anymore.
up
-9
Vladimir Kovpak
9 years ago
On linux:

sudo apt-get install php5-mcrypt
sudo php5enmod mcrypt
sudo service apache2 restart
To Top