Kitkat Posted June 22, 2009 Share Posted June 22, 2009 Hey guys, Having never done this before (and finding nothing on Google...) I'm really frustrated. I'm trying to figure out how to encrypt plain-text messages, for storage in the database, and then decrypt them when they're retrieved. How can I do that? Thanks! Kat Link to comment https://forums.phpfreaks.com/topic/163229-two-way-encryption/ Share on other sites More sharing options...
Jibberish Posted June 22, 2009 Share Posted June 22, 2009 PHP has mycrypt which is a two way encryption method mcrypt_encrypt http://www.php.net/manual/en/function.mcrypt-encrypt.php mcrypt_decrypt http://www.php.net/manual/en/function.mcrypt-decrypt.php Link to comment https://forums.phpfreaks.com/topic/163229-two-way-encryption/#findComment-861227 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.