Skip to content
TrySitePrice

Hash generator

Type something and every digest you have selected updates as you go. The SHA family comes from the browser's own cryptography implementation. MD5 is computed here in the page, because the Web Cryptography specification does not define it — and that implementation is checked against the test vectors published with the algorithm rather than trusted.

Hashed as UTF-8 bytes. An empty box still has a hash — that is the hash of zero bytes, not an error.

Algorithms
The SHA digests come from the browser's own Web Crypto implementation. MD5 is computed here in the page because Web Crypto does not offer it — that implementation is checked against the seven test vectors published in the MD5 specification.

Questions about hashing

01Can I use MD5 for passwords?

No. MD5 and SHA-1 both have practical collision attacks, and in any case a plain hash of a password is the wrong shape of tool — password storage needs a deliberately slow, salted function such as Argon2 or bcrypt. MD5 is here because file checksums and older systems still use it, not because it is safe.

02Why does an empty box still show a hash?

Because zero bytes is a valid input and has a defined digest. That value is one of the published test vectors for each algorithm, which makes it a handy check that a hashing implementation anywhere is behaving.

03Why is nothing sent to a server?

Because it does not need to be, and whatever you are hashing is often the kind of thing you would rather not post. The whole computation is local, which also means it keeps working with the network off.

Related tools