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 Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.