• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Patch Encrypt lib of CI2 with CI3's version


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 ?


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.