SHA-1 Hash of "foo"
SHA-1 Hash
0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33 Hash Any Text
All Hashes of "foo"
| Algorithm | Hash |
|---|---|
| SHA-1 | 0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33 |
| MD5 | acbd18db4cc2f85cedef654fccc4a4d8 |
| SHA-256 | 2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae |
| SHA-512 | f7fbba6e0636f890e56fbbf3283e524c6fa3204ae298382d624741d0dc6638326e282c41be5e4254d8820772c5518a2c5a8c0c7f7eda19594a7eb539453e1ed7 |
About SHA-1
SHA-1 produces a 160-bit digest, written as 40 hexadecimal characters. The same input always produces the same hash, while even a one-character change yields a completely different output. This page's hash is exactly 40 characters long, as expected for SHA-1.
Security: SHA-1 is deprecated — a practical collision was demonstrated in 2017 (the SHAttered attack). Avoid it for any new security use; migrate existing systems to SHA-256 or stronger. It is most appropriate for legacy compatibility only, not new security uses.
Can this hash be reversed?
Hashing is one-way — you cannot mathematically reverse a SHA-1 hash to recover its input. However, precomputed (rainbow) tables can simply look up the hashes of common inputs, so a common dictionary word like "foo" should never be used as a password. Strong passwords are long, random, and salted before hashing.