NYCPHP Meetup

NYPHP.org

[nycphp-talk] Encrypt and decrypt to store in DB

Aaron Fischer agfische at email.smith.edu
Thu Aug 3 10:00:20 EDT 2006


Greetings,

I'm storing sensitive information in a MySQL db and will need to read it 
at some point so I can't do a one way encrypt like md5().

Following Chris's recommendation of mcrypt(), I ran 
mcrypt_list_algorithms() and it appears that mcrypt is not available to 
me on my server.

Are there any other functions/classes that folks would recommend that 
would allow me to encrypt and decrypt a string?

Thanks,

-Aaron



More information about the talk mailing list