2017 © Pedro Peláez
 

library mcrypt_compat

PHP 5.x/7.x polyfill for mcrypt extension

image

phpseclib/mcrypt_compat

PHP 5.x/7.x polyfill for mcrypt extension

  • Tuesday, July 10, 2018
  • by terrafrost
  • Repository
  • 6 Watchers
  • 47 Stars
  • 197,150 Installations
  • PHP
  • 7 Dependents
  • 2 Suggesters
  • 15 Forks
  • 5 Open issues
  • 9 Versions
  • 37 % Grown

The README.md

mcrypt_compat

CI Status, (*1)

PHP 5.x-8.x polyfill for mcrypt extension., (*2)

Supporting mcrypt_compat

Installation

With Composer:, (*3)

composer require phpseclib/mcrypt_compat

Supported algorithms

  • rijndael-128
  • rijndael-192
  • rijndael-256
  • des
  • blowfish
  • rc2
  • tripledes
  • arcfour

Unsupported algorithms

  • cast-128
  • gost
  • cast-256
  • loki97
  • saferplus
  • wake
  • blowfish-compat
  • serpent
  • xtea
  • enigma

Supported modes

  • cbc
  • ncfb
  • cfb
  • ctr
  • ecb
  • nofb
  • ofb
  • stream

mcrypt_compat's ncfb implementation has some incompatibles with mcrypt's implementation where mcrypt_generic and mdecrypt_generic are concerned. The unit tests elaborate., (*4)

Emulating older PHP versions

The mcrypt extension's behavior underwent changes as new versions of PHP were released. By default mcrypt_compat emulates the behavior of PHP 7.1 but if you need to emulate how mcrypt behaved in, say, PHP 5.3.0, you may do so by doing define('PHPSECLIB_MCRYPT_TARGET_VERSION', '5.3.0'); before including vendor/autoload.php (if you're using this with Composer)., (*5)

Security contact information

To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure., (*6)

The Versions

10/07 2018

dev-master

9999999-dev

PHP 5.x/7.x polyfill for mcrypt extension

  Sources   Download

MIT

The Requires

 

The Development Requires

encryption polyfill mcrypt cryptograpy

10/07 2018

1.0.x-dev

1.0.9999999.9999999-dev

PHP 7.1 polyfill for the mcrypt extension from PHP <= 7.0

  Sources   Download

MIT

The Requires

 

The Development Requires

encryption mcrypt cryptograpy

10/07 2018

1.0.6

1.0.6.0

PHP 7.1 polyfill for the mcrypt extension from PHP <= 7.0

  Sources   Download

MIT

The Requires

 

The Development Requires

encryption mcrypt cryptograpy

15/04 2018

1.0.5

1.0.5.0

PHP 7.1 polyfill for the mcrypt extension from PHP <= 7.0

  Sources   Download

MIT

The Requires

 

The Development Requires

encryption mcrypt cryptograpy

14/01 2018

1.0.4

1.0.4.0

PHP 7.1 polyfill for the mcrypt extension from PHP <= 7.0

  Sources   Download

MIT

The Requires

 

The Development Requires

encryption mcrypt cryptograpy

22/12 2017

1.0.3

1.0.3.0

PHP 7.1 polyfill for the mcrypt extension from PHP <= 7.0

  Sources   Download

MIT

The Requires

 

The Development Requires

encryption mcrypt cryptograpy

15/01 2017

1.0.2

1.0.2.0

PHP 7.1 polyfill for the mcrypt extension from PHP <= 7.0

  Sources   Download

MIT

The Requires

 

The Development Requires

encryption mcrypt cryptograpy

01/11 2016

1.0.1

1.0.1.0

PHP 7.1 polyfill for the mcrypt extension from PHP <= 7.0

  Sources   Download

MIT

The Requires

 

The Development Requires

encryption mcrypt cryptograpy

03/07 2016

1.0.0

1.0.0.0

PHP 7.1 polyfill for the mcrypt extension from PHP <= 7.0

  Sources   Download

MIT

The Requires

 

The Development Requires

encryption mcrypt cryptograpy