-
-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
I started writing a polyfill a couple years ago, and while I didn't make much progress on the actual implementation of the mcrypt functions, the test suite was pretty robust. Maybe you'd like to take some inspiration from it: https://github.com/cweagans/mcrypt-polyfill/tree/d261945011d06273fa3221e68cb2b7e75a40b3ee
Travis CI's PHP has mcrypt compiled in (rather than loaded as an extension - bug report here: travis-ci/travis-ci#4701), so I chose to run everything in Docker containers. I'm happy to provide details if it's something that you'd be interested in. The basic idea is that all of the tests from PHP itself that were used to validate ext-mcrypt can also be run against a polyfill, which would guarantee full compatibility.
glensc
Metadata
Metadata
Assignees
Labels
No labels