Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Encrypt password before submission of form  RSS feed

 
Ranch Hand
Posts: 72
AngularJS Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bartender
Posts: 1166
17
Java Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Rancher
Posts: 42974
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
 
shashank dwivedi
Ranch Hand
Posts: 72
AngularJS Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www.jacobward.co.uk/automating-client-side-password-encryption-for-phpcurl-web-bot-form-submission/

got one solution here using JS...
 
All of life is a contant education - Eleanor Roosevelt. Tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!