Hi,
I am saving the password in the database using SHA-1 encyption. On forgetting the password i have to email the user his old password. But i am not able to decrypt the password saved in the database. Can anybody help me in creating a decryption code in java for the same. looking fwd for quick replies
Thanks
Rahul
rahulkashyap82
0
Newbie Poster
Recommended Answers
Jump to PostNormally, in this situation, you create a new password and send that to the user (and, usually, you only allow that generated password to be used once and force the user to set a new one upon using it).
Jump to PostWell, sorry to tell you this, but SHA-1 is a hash algorithm, it is not meant to be decoded.
All 5 Replies
masijade
1,351
Industrious Poster
Team Colleague
Featured Poster
rahulkashyap82
0
Newbie Poster
masijade
1,351
Industrious Poster
Team Colleague
Featured Poster
rahulkashyap82
0
Newbie Poster
masijade
1,351
Industrious Poster
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.