Re: encrypting /descrypting a password

From: Date: Fri, 24 Nov 2000 09:57:39 +0000
Subject: Re: encrypting /descrypting a password
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-26920@lists.php.net to get a copy of this message
use php md5() function... it doesnt decrypt... the only way to see if the password that the user entered matches the one in the database.. .. is to md5() what the user input and check against database... john hennink@patrijs.max.nl wrote: > Hi, > > I'm working on a authorizationenvironment and now I've to decide how to > store my password's in Mysql. > What would be the safiest solution? > What if I choose des to encrypt the given password in de dbase? > How could I check that when a user is logging in that the given password > is > the same as the one that is encrypted because there is no decrypt to see > if the passwords match. > > With regards, > > Tijmen > > -- > Customer: I'm running Windows '98 > Tech: Yes. > Customer: My computer isn't working now. > Tech: Yes, you said that. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#26920) next »