Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

matching SHA1 passwords

Status
Not open for further replies.

dushkin

Programmer
Mar 28, 2002
90
US
hi. i am new to security and databases. i have recently built a members db with a sha1 password column in it. Now, when i log in, i want to be able to discover the appropriate password for the appropriate email address. how do i do that for a hashed password? if i use the hashing function on the login script, i'll get a different hash. how do i match the hashed longin password with the hashed registered password?

thanks in advance.
 
For a given input you should always get the same output with SHA1.

Are you using time sensitive data in your SHA1 creation?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top