Skip to content
OddsockLocal
Local
Source text

Formatting

5 wordsRuns in this browser. Nothing is uploaded.

How to use

  1. Type or paste the text. The hash is of those UTF-8 bytes.
  2. Choose Hash. SHA-256 is the start. MD5, SHA-1, SHA-384, SHA-512, SHA3-256, SHA3-512 and CRC32 are the others.
  3. Leave HMAC secret empty for a plain digest, or fill it in for an HMAC on a SHA algorithm.
  4. Copy the hex. For a file, use File checksum instead of pasting the file’s contents.

What is Hash generator?

A hash is a fingerprint of the bytes you paste. The default algorithm is SHA-256. Odd socks in the dryer. hashes to 0e1364279200dba3cce6a88e4ca8c9d0381ab37b8dceb937aff4fc556e0af54e. The same sentence is MD5 c45a6a8ffd9293637039ad6a1223c326, SHA-1 bc1687d1444681a1c5778cb4cf3a2a6943d8a07e, and CRC32 2f0fae94. SHA3-256 of the short string abc is 3a985da74fe225b2045c172d6bd390bd855f086e3e9d525b46bfe24511431532.

Read more

HMAC is a different job. Fill in HMAC secret and the page signs the text with that key, but only for SHA-1, SHA-256, SHA-384 and SHA-512, plus the SHA-3 variants. MD5 and CRC32 refuse a secret. The well-known test vector, text what do ya want for nothing? and secret Jefe, is HMAC-SHA-256 5bdcc146bf60754e6a042426089575c75a003f089d2739839dec58b964ec3843. Leave the secret empty for a plain digest.

The digest is computed in this tab. A password you paste to see its MD5 does not get sent anywhere, and that still does not make MD5 a password hash. File checksum is the page that reads a file instead of the text box.

Use cases

  • You need the SHA-256 of a sentence you can retype, to compare with a log that stored 0e1364279200dba3cce6a88e4ca8c9d0381ab37b8dceb937aff4fc556e0af54e.
  • A spec quotes the HMAC of what do ya want for nothing? under the key Jefe, and you want that hex beside a new implementation.
  • A legacy system still speaks MD5 and you need c45a6a8ffd9293637039ad6a1223c326 of a known phrase, not a password scheme.
  • CRC32 of a short string is what an old archive tool printed, and you want 2f0fae94 next to the longer digests.

SHA-256 of a sentence you can retype

Hash SHA-256, no secret. Text: Odd socks in the dryer.

0e1364279200dba3cce6a88e4ca8c9d0381ab37b8dceb937aff4fc556e0af54e

Why use Oddsock

The sentence is fixed so you can retype it and get the same SHA-256. A random file would not teach you whether the page matches a known digest.

Related tools

Using this tool

No. MD5 is fast to compute and has been broken as a collision-resistant hash for years. Password storage needs a slow, salted function such as scrypt, bcrypt or Argon2. The MD5 of Odd socks in the dryer. is c45a6a8ffd9293637039ad6a1223c326, and that speed is exactly why it is a bad password hash.