Encrypted field
| From: | Rodrigo Alvarez | Date: | Fri, 10 Dec 2004 11:22:37 +0000 |
| Subject: | Encrypted field | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-16155@lists.php.net to get a copy of this message | ||
Hi PEARs,
I'm using formbuilder and as showed in wiki example I must encrypt some data in database. But I'cant use md5 because data must be recoverable.
Which type of encryption should I use? I can use MySQL functions, php functions or any external clases (RSA or something).
And, how would you do this? Is the example at the wiki the unique way? I have a lot of entities and I it could ble clearer to use some kind of function, instead of copy-paste-modify.
Thank U,
Rodrigo.