Give me 2 minutes, and I'll teach you how databases keep passwords securely (not joking):
• The server transforms the password using a hash function to create the fingerprint.
• The database stores only the fingerprint, and not the password.
• The hash function is one-way, so the password cannot be obtained from a fingerprint.
• The fingerprint is regenerated whenever the user enters a password.
• The regenerated fingerprint is compared against the stored value to provide access.