aspose file tools*
The moose likes Applets and the fly likes Encrypt password before submission of form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Encrypt password before submission of form" Watch "Encrypt password before submission of form" New topic
Author

Encrypt password before submission of form

shashank dwivedi
Ranch Hand

Joined: Mar 06, 2012
Posts: 57
Hi i have an encryption utility class.
Can i use it some how to encrypt password before submitting form ?
I heard it can be done using applet.
Richard Tookey
Ranch Hand

Joined: Aug 27, 2012
Posts: 971
    
  10

Since the Applet jar file or classes have to be downloaded before the Applet can run an attacker can get extract the key from these files then he can decrypt the password. You would do better to consider using HTTPS rather than HTTP then all transactions between the client and the server will be encrypted.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39578
    
  27
an attacker can get extract the key from these files then he can decrypt the password.

... unless we're talking about an asymmetric encryption algorithm and its public key. But I agree that using HTTPS is a better approach.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Encrypt password before submission of form
 
Similar Threads
problem with j_security_check
Encrypt form POST data before calling servlet through JSP
How to Encrypt and Decrypt the password in JSP
The onsubmit event
How can I encrypt the password using j_security_check?