Welcome Guest, Not a member yet? Register   Sign In
Guide to get rid of Mcrypt dependancy (Encrypt)
#1

I'm tasked with taking a codeigniter 3 application that used to be a codeigniter 2 application (is using encrypt) and used to run on PHP 5.2 and get it running on PHP 7.2

PHP 7.2 doesn't come with MCrypt anymore, and so that main blocking issue I have is that I get an error saying I need to install MCrypt, and the codeigniter documentation states I should probably just move from the Encrypt library to the Encryption library, then I can use OpenSSL.

Is there some sort of migration guide to move to Encryption? I'm not using most of the features of Encrypt (sessions are stored in the DB, not a cookie either). I just want to get off of MCrypt.
Reply
#2

Read:

PHP Symmetric Cryptography Library Recommendations: Use the Paragonie Libsodium Lib

Paragonie - Secure Data Encryption in Web Applications with PHP
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB