my Java program allows me to store
a user with its login and password in a database, table users.
But I want to crypt the password in the table.
And when someone logs in, decrypt it to test if the passwored entered is correct.
The password is read from a JPasswordField, so it returns me a char
What is a good way to do this ?