A hash is not encryption
CodeMoment · Updated 2026-10-31
A hash turns text into a fixed digest. The same text always produces the same digest, and anyone can run the function again. That is why a hash is not encryption. Encryption is meant to hide the input from someone who does not have a key. A hash publishes a fingerprint. It does not hide the message, and it does not need a key unless you move to HMAC.
MD5 of the bytes in the word hello is 5d41402abc4b2a76b9719d911017c592. Hash those five letters a second time and the 32 hex characters match. There is no key in that step. If the text had to stay secret, MD5 did not do it. Two different inputs can also share one MD5 digest. Those collisions are practical, so MD5 is not a signature and not a way to store a password. The MD5 page still computes it, because old systems compare that digest. It prints lowercase or uppercase hex. It does not add a salt, and it does not turn the result into a password hash.
SHA-256 of the same word hello is 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824. That digest is longer, and SHA-256 is a reasonable default for new checksums. SHA-1 is not. Chosen-prefix collisions against SHA-1 are practical, so a new signature should use SHA-256 or SHA-512. The SHA page still lists SHA-1, the SHA-2 family, Keccak, and RIPEMD-160, and it computes every one of them together so you can compare an old value. The Keccak rows use the original Keccak padding. NIST SHA-3 of the same text is a different digest, even when the output length matches. A protocol that says SHA3-256 will not match a Keccak-256 string from this page.
HMAC is the keyed construction. Hash the message alone and you have not produced an HMAC. The key is what stops someone who can see the message from forging the digest. The HMAC page computes HMAC-MD5, HMAC-SHA-1, the SHA-2 family, HMAC-Keccak-512, and HMAC-RIPEMD-160 together, and it does not print the key in the result. HMAC-MD5 and HMAC-SHA-1 still appear in old protocols. New work should use HMAC-SHA256 or HMAC-SHA512. Keccak-512 on that page is the same original padding, not NIST SHA-3.
A password hash is a different job. bcrypt is slow on purpose, and the salt sits inside the hash string. The bcrypt page hashes a password and checks it in this tab. The cost stays at 12 or below so the page remains usable. It is not encryption, and the hash is not an AES key. MD5 is still not a way to store a password.
None of these pages uploads the text or the key. None of them encrypts. Use them to check a digest you were given, or to see which algorithm a legacy system expected. Do not publish the digest and call it ciphertext.