I want to create a login frame. I am saving the passwords in the database. The getPassword()
method returns each time a new encrypted character array.
String pass = txtPass.getPassword().toString();
How to then compare the passwords stored in the database and the that given by the user ??