in reply to Re: Ecrypting passwords
in thread Ecrypting passwords
Something I don't understand. Perhaps someone could enlighten me?
If we encrypt the password via SHA1 and store it in database how will we compare it at login? Doesn't SHA1 encrypt the same string into a random hash each time? So if we encrypt the user given password and compare it to the stored password aren't the hashes going to be different?
If we somehow unencrypt the hashes how is that done? I don't see that mentioned in the SHA1 docs.
Sorry for being dense.
Neil Watson
watson-wilson.ca
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Ecrypting passwords
by hardburn (Abbot) on Nov 04, 2003 at 20:28 UTC | |
by neilwatson (Priest) on Nov 05, 2003 at 18:02 UTC | |
by hardburn (Abbot) on Nov 05, 2003 at 18:40 UTC | |
by neilwatson (Priest) on Nov 05, 2003 at 18:46 UTC | |
by hardburn (Abbot) on Nov 05, 2003 at 19:07 UTC | |
|
In Section
Seekers of Perl Wisdom