php3-list | 199903
Date: 03/29/99
- Next message: Space Cowboy: "[PHP3] Cyrus and UW"
- Previous message: Adam Gotheridge: "[PHP3] sybase_connect on iis not working"
- Maybe in reply to: Spammer: "[PHP3] Encrypted GET vars"
- Next in thread: Steve Douville: "RE: [PHP3] Encrypted GET vars"
- Reply: Steve Douville: "RE: [PHP3] Encrypted GET vars"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>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>
- Next message: Space Cowboy: "[PHP3] Cyrus and UW"
- Previous message: Adam Gotheridge: "[PHP3] sybase_connect on iis not working"
- Maybe in reply to: Spammer: "[PHP3] Encrypted GET vars"
- Next in thread: Steve Douville: "RE: [PHP3] Encrypted GET vars"
- Reply: Steve Douville: "RE: [PHP3] Encrypted GET vars"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

