encrypted passwords in database
in most applications you have some variant of this table:
CREATE TABLE users (
id serial PRIMARY KEY,
username TEXT NOT NULL,
passwd TEXT
);
and, usually, the passwd stores user password in clear text way.
this is usually not a problem, but in case you’d like to add password encryption in database, there are some ways to do it - and i’ll show you which way i like most.