I was going to delete the project as it is quite old now but noticed theres still a few dowloads occurring, so I will update the project in the near future instead, with an OpenSSL version and a migration function to update previously mcrypt encrypted data with openssl encryted data.
NOTES:
* PHP v7.x series sees mcrypt being removed so encryption migration needs to be done on a PHP version that supports mcrypt like PHP-5.6.
* No promises on a release time but it should be before 2020.
* The new class (minus the migration function) is suitable for use with PHP 7.x versions.... read more
pcrypt is a small class file that uses the mcrypt PHP extension for providing strong 2 way encryption for PHP applications. Output is url and cookie friendly.