Generate SHA-256, SHA-384, SHA-512 and other hashes.
The Hash Generator computes MD5, SHA-1, SHA-256, SHA-384 and SHA-512 digests of pasted text or a chosen file, all at the same time. It is useful for verifying downloads, comparing file contents, producing cache keys and checking a hash you were given against what your data really produces.
A hash function turns input of any size into a fixed-length fingerprint, shown here as hexadecimal. The same input always gives the same digest, and changing even one character changes the digest completely. A hash cannot be reversed to recover the input, but that does not make it encryption: there is no key and nothing to decrypt. SHA-256 produces 256 bits (64 hex characters), SHA-384 produces 384 bits and SHA-512 produces 512 bits. MD5 (128 bits) and SHA-1 (160 bits) are broken, because attackers can build different inputs with the same digest. They remain fine for spotting accidental corruption, but should not be used for signatures, certificates or password storage. Text is hashed as UTF-8 bytes.
No. Hashing is one-way and keyless: you cannot get the original back from a digest. Encryption is reversible with a key. Use the Encryption tool if you need to recover the data later.
Practical collision attacks exist for both, so someone can craft two different inputs with the same digest. They are acceptable for detecting accidental corruption, but not for signatures, certificates or password hashing.
Use SHA-256 for most purposes. SHA-384 and SHA-512 give longer digests and are common in some protocols. Match whatever algorithm the checksum you are verifying was produced with.
Usually the input differs: a trailing newline, Windows versus Unix line endings, or a different character encoding. This tool hashes the text as UTF-8 and files as raw bytes.
Yes. Pick a file under Or hash a file and all five digests are calculated from its raw bytes. The file name and size are shown, and a Remove button clears it.