A simple demonstration of one-way encryption (SHA1).

This is a simple demonstration of how most online systems keep sensitive material like your passwords secure. The example uses using SHA1 encryption, which renders the text you enter into the password field useless.

If your rendered garbage is the same as the garbage that is stored in the system, the system knows you typed the correct password.

Even if you want an administrator to tell you what an encrypted password is, there is no good way to go about retrieving what was originally entered in as the password.

Password:
Test PasswordReal Password
da39a3ee5e6b4b0d3255bfef95601890afd807095baa61e4c9b93f3f0682250b6cf8331b7ee68fd8

Type 'password' for the password.

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.

Back to Andy Hill's homepage