1,105,328 Community Members

password resetting

Member Avatar
HunainHafeez
Posting Whiz
340 posts since Aug 2012
Reputation Points: 9 [?]
Q&As Helped to Solve: 4 [?]
Skill Endorsements: 2 [?]
 
0
 

i have hashed password using SHA1 and for login i am using same algo, so when user enters password, both hased gets matched and he/she logs in, thats ok and working , quite happy :)

but problem is that sha1 cannot reversed , its a one way algo,

and i want to provide facility of RESET password in my website , so how can i get around this problem ? is there any way to provide reset password while using sha1, any alternative, to provide thsi facility while using sha1 . Sha1 is customers requirement and i have to use it ! so help please !

Member Avatar
HunainHafeez
Posting Whiz
340 posts since Aug 2012
Reputation Points: 9 [?]
Q&As Helped to Solve: 4 [?]
Skill Endorsements: 2 [?]
 
0
 

done

mailing a link to user and after clicking it , redirecting to reset page

Question Self-Answered as of 1 Year Ago
You
This question has already been solved: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: