Passwords are stored in the database after a hashing algorithm is applied. This ensures that passwords cannot be read by Yuki employees who have access to the database or if the database were to be hacked.