Everyday computer scienceLesson 021 min
How does a website check your password without storing it?
A well-built website never saves your password. It runs the password through a hash function, a one-way scramble that gives the same result each time and cannot be run backwards. The site stores only the scramble and compares it at login. A random salt makes two identical passwords differ, and the function is slow on purpose, so mass guessing takes too long.
Remember
A good site can reset your password but can never tell you the old one.
