Best approach to encrypt username/password and then transfer them to the server in Java application
What is the best approach to encrypt password entered by user at client side and the decrypt at the server in an Java a开发者_开发知识库pplication.?
Basically I want to make sure all data entered by client is secure.
Regards Tarun Sapra
Use SSL. It solves all your problems.
If you can't use SSL for some reason then you might need to post some more information about your system so we can provide more specific advice.
This depends greatly on the specifics of your system. One common, and well supported option, would be to just use SSL to encrypt everything going over the wire.
If you don't want to use ssl because of costs, installing it etc then you could try this
精彩评论