Hashing
A service hashes what you type and compares it with the stored hash, which means a breached database exposes hashes rather than passwords. Modern practice uses deliberately slow functions such as bcrypt, scrypt or Argon2. See What is a Password?