Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199903

Re: [PHP3] Encrypted GET vars From: Jason Brooke (jason <email protected>)
Date: 03/29/99

>Thanks. Now, how does this help? If I want to encrypt the password on both
>ends for comparison purposes, it doesn't seem that this will work if only a
>portion of the encryted passwords are identical due to the salt characters.
>
>Perhaps this isn't the correct way to use this? But then, I'm wondering
what
>the purpose of a crypt() function would be...
>
>Thanks,
>Steve

Take the first two chars off the stored password and use them as the salt
when you run crypt() on the supplied password before comparison.

Jason

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev-list-admin <email protected>