Re: Decrypt Function?

From: Date: Mon, 26 Mar 2001 00:18:56 +0000
Subject: Re: Decrypt Function?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-45544@lists.php.net to get a copy of this message
<< Is there any way to decrypt dat encrypted using the crypt function? If not, then what purpose does that function have? >> Crypt cannot be decrypted. One use of the function is for storing passwords on a server where people can access them. If you crypt the passwords before you store them on the server, nobody can see the actual passwords. Now when someone tries to login with one of those passwords, you crypt the password he enters, compare it with the version on the server, and if they match, it's the right password. Sig for a Day Stephan Ahonen, ICQ 491101 "That's very funny Scotty, now beam down my clothes!" Come back tomorrow for a different sig! Backspace a single "s" to reply by email

« previous php.general (#45544) next »