Tarun Sapra
Tarun Sapra

Reputation: 1901

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 application.?

Basically I want to make sure all data entered by client is secure.

Regards Tarun Sapra

Upvotes: 0

Views: 741

Answers (3)

Yawn
Yawn

Reputation: 519

If you don't want to use ssl because of costs, installing it etc then you could try this

Upvotes: 0

Cameron Skinner
Cameron Skinner

Reputation: 54306

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.

Upvotes: 5

mblinn
mblinn

Reputation: 3274

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.

Upvotes: 1

Related Questions