How encrypt password by javascript and decrypt encrypted password using jsp
843840Nov 12 2009 — edited Nov 16 2009I am using "Hibernate ,JSP and Servelet" .
I want to encrypt the 'username and password' using JavaScript before sending it to jsp page and at server end I want to decrypt it using JSP/java.
Please help me with some sort of example code, as I am getting ssh1 JavaScript encrypting function on internet but not decryption java end function. As well SSH1 function is not getting clear to me. I am not getting how can this be possible without sending the encryption key to JSP and if i send the key with username and password then any one can get it and will decrypt it.
Edited by: Ashutosh.Kumar.Srivastava on Nov 12, 2009 10:48 AM