CodeIgniter Forums
Encryption - Decryption in CI - 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 - Decryption in CI (/showthread.php?tid=20698)



Encryption - Decryption in CI - El Forum - 07-18-2009

[eluser]aryan_[/eluser]
Hi,

I want to encrypt user submitted data(email for example), and decrypt it later when required.

How to?

Thanks


Encryption - Decryption in CI - El Forum - 07-18-2009

[eluser]Yorick Peterse[/eluser]
For the love of god, read the userguide : http://ellislab.com/codeigniter/user-guide/libraries/encryption.html


Encryption - Decryption in CI - El Forum - 07-18-2009

[eluser]Johan André[/eluser]
[quote author="Yorick Peterse" date="1247965410"]For the love of god, read the userguide : http://ellislab.com/codeigniter/user-guide/libraries/encryption.html[/quote]

Hehe! Getting tired of people not reading, even though their topic is in the userguide headlines? I do too...


Encryption - Decryption in CI - El Forum - 07-18-2009

[eluser]aryan_[/eluser]
Thanks.


Encryption - Decryption in CI - El Forum - 11-24-2009

[eluser]skunkbad[/eluser]
[quote author="Yorick Peterse" date="1247965410"]For the love of god, read the userguide : http://ellislab.com/codeigniter/user-guide/libraries/encryption.html[/quote]

I read this page in the manual, but have a question. If I encrypt the contents of an email, are there email clients that can use the encryption key to decrypt the email? I've never seen a feature like this in my email client, but I'm certainly no expert on email clients.

The reason I ask is, I need to be able to do this, and haven't worked out how it will be done.


Encryption - Decryption in CI - El Forum - 11-25-2009

[eluser]BrianDHall[/eluser]
@skunkbad

You'll want to look into PGP, Pretty Good Privacy. The public key / private key system is the one used in most email clients, which is not directly supported by the Encryption library in CI.


Encryption - Decryption in CI - El Forum - 11-25-2009

[eluser]skunkbad[/eluser]
[quote author="BrianDHall" date="1259186739"]@skunkbad

You'll want to look into PGP, Pretty Good Privacy. The public key / private key system is the one used in most email clients, which is not directly supported by the Encryption library in CI.[/quote]

I was checking out PGP last night. From what I could gather, it looks like I would have to have root access to the server to install PGP, and I do not.