Antpact Toolbox
中文
Home › Utilities & Developer › Hash Calculator

Hash Calculator

Compute MD5/SHA-1/SHA-256/SHA-512 digests.

Privacy: this tool runs entirely in your browser — files are never uploaded, and data is gone when you close the page.

How to use

  1. Enter text.
  2. Pick an algorithm.
  3. Compute and view the digest.

FAQ

Can a hash be reversed?

No. A hash is a one-way digest — you can compute it from the input but not recover the input from the hash, so it verifies rather than encrypts.

MD5 or SHA-256 — which is safer?

SHA-256 is safer. MD5 is broken by known collision attacks and should not be used for security, only for non-security comparisons.

How do I verify a file with a hash?

Hash the downloaded file with SHA-256 and compare with the publisher's digest; a match means it was not tampered with.

Is SHA-1 still okay?

SHA-1 is also deprecated for security (known collisions); new work should use SHA-256 or SHA-512.

Is the hash of the same text always identical?

Yes. Same input always yields the same digest; changing even one character produces a completely different hash (avalanche effect).

What is the difference between hashing and encryption?

Encryption is reversible with a key; hashing is not and only proves integrity. They serve different purposes and are not interchangeable.

About this Hash Calculator

SHA via Web Crypto, MD5 local. One-way digests for integrity checks. Local only.