SHA-1 Generator
SHA-1 hash of text in hex or Base64, with a compare box.
This MD5 generator turns any text into its 32-character MD5 hash as you type, and checks it against a checksum you paste.
Hashed as UTF-8. A trailing space or line break changes the hash.
MD5 was designed by Ronald Rivest and published as RFC 1321 in 1992. It pads the input to a multiple of 512 bits, then runs each 512-bit block through 64 steps that mix it into four 32-bit words. Those four words, 128 bits in all, are the hash. Written in hex, that is 32 characters.
Your text is turned into UTF-8 bytes first, so é and e give different hashes. Browsers have no built-in MD5, so the page loads a small WebAssembly hasher from this site and runs it locally. Nothing is sent to a server.
| Input | MD5 |
|---|---|
abc | 900150983cd24fb0d6963f7d28e17f72 |
hello | 5d41402abc4b2a76b9719d911017c592 |
Hello | 8b1a9953c4611296a827abf8c47804d7 |
| empty text | d41d8cd98f00b204e9800998ecf8427e |
The value for abc is the test vector printed in RFC 1321. One capital letter is enough to change every character of the result, as the hello and Hello rows show.
hello followed by a newline gives b1946ac92492d2347c6235b4d2611184, the value echo hello | md5sum prints.No. MD5 is a one-way function, not encryption. Sites that claim to decrypt MD5 look the hash up in a list of hashes of common words, which only works for short or common inputs.
No. It is fast to compute and has known collisions. Store passwords with bcrypt or Argon2, which are slow on purpose. The Bcrypt Generator makes bcrypt hashes.
echo adds a newline to the text. Use echo -n, or add the line break in the box, and the two hashes match.
It is quick and every system supports it, so it still works for spotting accidental changes, such as a file damaged during a download.
Often used together with MD5 Generator.
SHA-1 hash of text in hex or Base64, with a compare box.
SHA-256 hash of text in hex or Base64, compared with a checksum when you paste one.
Hashes text with ten algorithms and compares the result with an expected hash.