Welcome Guest, Not a member yet? Register   Sign In
Patch Encrypt lib of CI2 with CI3's version
#1

Hi,

I'm using CI2 for an OSS project and the bottleneck is always _add_cipher_noise and stuffs inside the Encrypt lib which I don't use elsewhere in my project.

I can't migrate to CI3 because it would impact too much my users for a little benefit.

I tried to replace the Encyption lib in my source with the v3.0's lib (by changing its name) and changed the calls to encode/decode by crypt/decrypt in the Session lib (I didn't modify something else into Session lib). So far it is working. I think it's due to the fact that I'm not using the Encyption lib in the application and that's only used to encrypt the secured session cookie.

What do you think of this ugly pacth ?

https://github.com/bbalet/jorani
http://demo.jorani.org/
Reply


Messages In This Thread
Patch Encrypt lib of CI2 with CI3's version - by bbalet - 09-19-2015, 12:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB