For password fields, password policies can be defined that are checked by the client when a password is entered, and the password is accepted or denied accordingly.
The passwords are encrypted via "bCrypt" with "salt and pepper", based on the Blowfish algorithm. The passwords are checked by the server and the client at login using the challenge/response method instead of a simple comparison.