CodeIgniter Forums
Encryption Class 1.7.2 and 2.0.1 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Encryption Class 1.7.2 and 2.0.1 (/showthread.php?tid=39761)



Encryption Class 1.7.2 and 2.0.1 - El Forum - 03-19-2011

[eluser]Unknown[/eluser]
Hello all,

I'm encrypting some text using the Encryption library (using 2.0.1) and passing it to a another remote server which is running 1.7.2. Are the two encryption methods no compatible? I keep getting a kick back saying the text is unencrypt-able using the same key.

Thanks,
Greg


Encryption Class 1.7.2 and 2.0.1 - El Forum - 03-20-2011

[eluser]WanWizard[/eluser]
Afaik the code hasn't changed.

What is possible is that one server has the PHP MCrypt extension installed (which CI will use if present), and the other not.


Encryption Class 1.7.2 and 2.0.1 - El Forum - 03-20-2011

[eluser]Joakal[/eluser]
Not compatible, and only one way. As in; you can use encode_from_legacy()

Step 4: Update stored encrypted data
http://ellislab.com/codeigniter/user-guide/installation/upgrade_200.html


Encryption Class 1.7.2 and 2.0.1 - El Forum - 03-20-2011

[eluser]WanWizard[/eluser]
He, I missed that one. Good to know, thanks!