# Mcrypt

&reftitle.intro;
&warn.deprecated.feature.7-1-0.removed.7-2-0.alternatives;

- Sodium (available as of PHP 7.2.0)
- OpenSSL

&pecl.moved-ver;7.2.0.

This is an interface to the mcrypt library, which supports a wide variety of block algorithms such as DES, TripleDES, Blowfish (default), 3-WAY, SAFER-SK64, SAFER-SK128, TWOFISH, TEA, RC2 and GOST in CBC, OFB, CFB and ECB cipher modes. Additionally, it supports RC6 and IDEA which are considered "non-free". CFB/OFB are 8bit by default.

&reference.mcrypt.setup; &reference.mcrypt.constants; &reference.mcrypt.ciphers; &reference.mcrypt.reference;