T
ToolPrime

SHA-256 Hash of "foo"

SHA-256 Hash

2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae

Hash Any Text

All Hashes of "foo"

Algorithm Hash
SHA-256 2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae
MD5 acbd18db4cc2f85cedef654fccc4a4d8
SHA-1 0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33
SHA-512 f7fbba6e0636f890e56fbbf3283e524c6fa3204ae298382d624741d0dc6638326e282c41be5e4254d8820772c5518a2c5a8c0c7f7eda19594a7eb539453e1ed7

About SHA-256

SHA-256 produces a 256-bit digest, written as 64 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 64 characters long, as expected for SHA-256.

Security: SHA-256 is secure and part of the SHA-2 family. It is widely used in TLS, digital signatures, and Bitcoin, and is the recommended choice for most modern hashing needs. It is most appropriate for TLS, digital signatures, blockchains, and integrity verification.

Can this hash be reversed?

Hashing is one-way — you cannot mathematically reverse a SHA-256 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.

More SHA-256 Hashes

Frequently Asked Questions

What is the SHA-256 hash of "foo"?
The SHA-256 hash of "foo" is 2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae.
Is SHA-256 secure?
SHA-256 is secure and part of the SHA-2 family. It is widely used in TLS, digital signatures, and Bitcoin, and is the recommended choice for most modern hashing needs.
How long is a SHA-256 hash?
A SHA-256 hash is 256-bit, which is 64 hexadecimal characters long.
Can a SHA-256 hash be reversed?
No. SHA-256 is a one-way function, so a hash cannot be mathematically reversed back to its input. However, hashes of common inputs can be looked up in precomputed (rainbow) tables — which is why a common word like "foo" should never be used as a password.

Related Tools