CodeIgniter Forums
Encryption class not decoding correctly - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Encryption class not decoding correctly (/showthread.php?tid=39643)



Encryption class not decoding correctly - El Forum - 03-16-2011

[eluser]GeXus[/eluser]
I've been using the Encryption class to encode some sensitive data. I have the encryption_key set within the config.

When I try to decode it, it returns text like 'Ý@„¿´RÊFûŸÝ@„¿´RÊFûŸ'

Instead of the actual value.

Am I missing something? I have about 100,000 records that have all been encoded and now I can't get that data.


Encryption class not decoding correctly - El Forum - 03-16-2011

[eluser]GeXus[/eluser]
I've tried setting my header to UTF-8 and I get this - #l����@���R�F�-�4y�����;����


Encryption class not decoding correctly - El Forum - 03-16-2011

[eluser]WanWizard[/eluser]
On the same server it has been encoded?

Was the salt modified? Has the status (installed/removed/disabled) of the PHP crypt package changed?


Encryption class not decoding correctly - El Forum - 03-16-2011

[eluser]GeXus[/eluser]
Hm.. It may not be the same server, does that matter? mcrypt is installed and the encryption_key is the same.


Encryption class not decoding correctly - El Forum - 04-28-2013

[eluser]akuladouglas[/eluser]
Having the same issue too. Any ideas ?