Welcome Guest, Not a member yet? Register   Sign In
CI 2.1.0 to CI 3.0.x upgrade - Replacing "encrypt" with the "encryption" library
#1

Hi All,

I am a newbie in CodeIgniter but have a fair amount of PHP knowledge and other frameworks. 

First hand, looks like an awesome framework that if fairly straightforward and well-written. Well done!

I have inherited an application written in CI 2.1.0 and I have been going through the painstaking path of upgrading it to CI 3.x

Fortunately your documentation is well-written and I am able to follow through most of the instructions. Well done!

I am now on a major upgrade from CI 2.2.6 to CI 3.0.x on the Encrypt Library section

Specifically it says:


Quote:Following numerous vulnerability reports, the Encrypt Library has been deprecated and a new, Encryption Library is added to take its place.

The Encrypt Library is still available for the purpose of keeping backwards compatibility.

You are strongly encouraged to switch to the new Encryption Library as soon as possible!

I have gone through the Encryption library documentation and I see no equivalent to

PHP Code:
$this->encrypt->encode() 

Most of the upgrade documentation takes you through what was deprecated or what new methods to call, but in the Encrypt Library section, there is no mention on what we do to replace $this->encrypt->encode()  

There is no mention of it in the new Encryption Library.

Any help or pointers would be most appreciated!
Reply


Messages In This Thread
CI 2.1.0 to CI 3.0.x upgrade - Replacing "encrypt" with the "encryption" library - by tinonetic - 05-03-2018, 09:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB