I have an application uses JCE to encrypt/decrypt passwords when data get traffic between client and server side. Currently, I'm storing the password as text in a PostgreSQL database. I was trying to save the encrypted password in the DB, but when decrypting it, the values don't match at all (I was using DES). Which is the better way to protect passwords in the database, instead saving encrypted?