Indicose

All tools / Encryption & Encoding / Hash Generator

Hash Generator

Calculate SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or files.

SHA-1 is shown for compatibility but is broken for security use. MD5 is not offered because the Web Crypto API does not support it and it should not be used for security.

About this tool

A hash function turns any input into a fixed-length fingerprint. The same input always gives the same hash, and even a one-character change produces a completely different result. Hashes are used to verify file integrity, detect tampering and store password verifiers.

Paste text or choose a file and the tool computes SHA-1, SHA-256, SHA-384 and SHA-512 using the Web Crypto API. Files are read locally and are never uploaded.

Security tips

  • Compare the SHA-256 of a downloaded file with the value published by the vendor to confirm it was not altered.
  • Prefer SHA-256 or stronger. SHA-1 has known collision attacks.
  • Do not store passwords with a plain hash. Use a slow password hashing function such as Argon2, scrypt or bcrypt.

Frequently asked questions

Can a hash be reversed?

Not directly. However, short or common inputs can be found by guessing, which is why plain hashes are unsuitable for passwords.

Why is MD5 missing?

The Web Crypto API does not support MD5, and MD5 is broken for security uses.

Is there a file size limit?

Files up to 200 MB are accepted, because the whole file is loaded into memory by your browser.

Related tools