Skip to content

twistor/mcrypt-polyfill

 
 

Repository files navigation

cweagans/mcrypt-polyfill

Build Status

The purpose of this project is to make it possible to uninstall the mcrypt extension without breaking things.

Process

  • Disable ext_mcrypt and start working on implementing the functions in src/mcrypt.php
  • Do NOT write your own crypto. Ever.
  • Don't edit the existing tests, but feel free to add new ones.
  • A PR that increases the number of failing tests will not be merged until the number of passing tests increases or stays the same.

Test metrics

Coming soon.

Why?

  • mcrypt hasn't been maintained since 2003
  • We shouldn't depend on unmaintained crypto code
  • Having a userspace polyfill makes it easier for the PHP core team to drop ext_mcrypt

About

Will eventually provide a userspace reimplementation of ext_mcrypt on top of maintained PHP extensions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 99.8%
  • Shell 0.2%