Skip to content

PHP 5.x-8.x polyfill for mcrypt extension.

License

Notifications You must be signed in to change notification settings

ynphp/mcrypt_compat

Repository files navigation

mcrypt_compat

Build Status

PHP 5.x polyfill for mcrypt extension.

Installation

With Composer:

composer require phpseclib/mcrypt_compat

Supported algorithms

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

Unsupported algorithms

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

Supported modes

  • cbc
  • ncfb
  • ctr
  • ecb
  • nofb
  • stream

Although ncfb and nofb are supported cfb and ofb are not. Further, mcrypt_compat's ncfb implementation has some incompatibles with mcrypt's implementation where mcrypt_generic and mdecrypt_generic are concerned. The unit tests elaborate.

About

PHP 5.x-8.x polyfill for mcrypt extension.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 99.4%
  • Shell 0.6%