CodeIgniter Forums
Encrypt for name and id tags - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Encrypt for name and id tags (/thread-40690.html)



Encrypt for name and id tags - El Forum - 04-15-2011

[eluser]mabright[/eluser]
Is there a CI class/method for encrypting the name and id values on forms?


Encrypt for name and id tags - El Forum - 04-15-2011

[eluser]Kamarg[/eluser]
You can use the encryption library. If you don't mind me asking, why would you want to do that?


Encrypt for name and id tags - El Forum - 04-15-2011

[eluser]mabright[/eluser]
OK. Just seemed like a good way to reduce hacking and I notice other sites doing it when I look at their html source. I would think it has to be a pain when you need to decrypt and use the parameters during a POST or GET, unless this library takes care of this automatically.