Ulf wrote :What are you trying to guard against? Is the password transferred all from the client to the server in a secure form? What do you have so far, and what difficulty are you facing implementing this? Generally, passwords are not stored *encrypted*, they're stored *hashed* (or *digested*) using an algorithm like SHA-2. That way, nobody can retrieve them.
Is it possible to achieve this using the SHA-2 algorithm which you are mentioning,could you provide me some links where SHA-2 algorithm is used in Java.
I need a Forgot Password link also to be implemented so that when end user enters the appropriate email id,the password which is in "hashed" format in database should be "de-hashed(decrypted)" appropriately and should be mailed to the end user's email address.
Sorry if i have mistaken/confused with "hashed"/"encrypted" terminologies...
Please have a look at coderanch website itself where in case of password recovery section Lost Recovery page of Code Ranch Forum ,the end user is prompted for email address.I want to implement this feature.
Any suggestions on how can i go about comparing the digested user entered password and the stored password in database.
What is the difference between http:// and https:// and how can i implement https:// ( secured socket layer with 32 bit implementation in java)
Consider Paul's rocket mass heater. |