Drezard Posted September 11, 2006 Share Posted September 11, 2006 Hey, is there anyway you can encrypt a PHP String then unecrypt it later.- Cheers, Daniel Link to comment https://forums.phpfreaks.com/topic/20356-password-encrpytion/ Share on other sites More sharing options...
btherl Posted September 11, 2006 Share Posted September 11, 2006 The mcrypt module allows encryption. http://sg.php.net/manual/en/ref.mcrypt.phpIf you are storing user's passwords, it's a better idea to use one-way encryption with md5(). You can always set the user's password to something new if they forget the old one. Link to comment https://forums.phpfreaks.com/topic/20356-password-encrpytion/#findComment-89674 Share on other sites More sharing options...
Jenk Posted September 11, 2006 Share Posted September 11, 2006 pedantic: md5 is not encryption, it is hashing. Link to comment https://forums.phpfreaks.com/topic/20356-password-encrpytion/#findComment-89692 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.