Is there a way out to use RSA or some other crypto algorithm to encrypt/decrypt string/text in javascript/java, and vice versa. What I mean is, if I encrypt a string in jsp (using javascript, @ on formSubmit), pass it to action class, and now how can i decrypt it in my java code?
I really don't see how JavaScript enters into your question. You encrypt on the server, and decrypt next time on the server as well. [ June 02, 2008: Message edited by: Bear Bibeault ]
What I mean is, I have a login.jsp, on form submit I would like to encrypt the password and once the password reaches to the form controller or action class, I would like to decrypt it back. Is it possible to have javascript encryption (RSA or something similar) and using the same same algorith in a java class to decrypt it??