DoneInTab

Cryptographic Hash & File Checksum Generator

Compute SHA-256, SHA-384, SHA-512, and SHA-1 hashes for text and local files using the native browser Web Crypto API. 100% private, client-side cryptographic hashing with zero server transmission.

0 characters • 0 bytes
Cryptographic DigestsHexadecimal (lowercase)
SHA-256256 bits (32 bytes)Recommended

Standard 256-bit secure hash. Universal standard for certificates, git, and data integrity.

SHA-384384 bits (48 bytes)High Security

Truncated 384-bit variant of SHA-512. Designed for NSA Suite B / high security environments.

SHA-512512 bits (64 bytes)Maximum Security

512-bit digest offering maximum cryptographic collision resistance. Highly optimized for 64-bit processors.

SHA-1160 bits (20 bytes)Legacy / Deprecated

Legacy 160-bit algorithm with known collision vulnerabilities. Provided only for legacy checksum verification.

Local Web Crypto Guarantee: All hashing is computed locally in memory via the browser native crypto.subtle.digest API. Neither your text nor your files are uploaded to any server, cached in cookies, or stored in localStorage.

Understanding Cryptographic Hashes

Hashing vs Encryption

A cryptographic hash is a one-way mathematical function. It compresses data of any arbitrary size into a fixed-length string of bits:

  • One-Way Property: You cannot reverse or decrypt a hash to recover the input text or file.
  • Deterministic: The exact same input always yields the exact same hash across every computer on Earth.
  • Avalanche Effect: Changing just one single bit or character in your input completely scrambles more than 50% of the resulting digest bits.

Data Integrity vs Authenticity

Verifying a file checksum proves that a downloaded file matches the author's published digest without corruption:

  • Integrity: If the computed SHA-256 matches the checksum provided by a software distributor, you know the file arrived without corruption or tampering in transit.
  • Authenticity: A hash alone cannot prove who created a file if an attacker replaced both the file and the published checksum. Digital signatures (PGP / GPG) are required for non-repudiation.

Cryptographic Algorithm Comparison

AlgorithmOutput LengthHex CharsStatus & SecurityBest Used For
SHA-256256 bits64Secure (Standard)Universal standard for certificates, git, and checksums
SHA-384384 bits96High SecurityNSA Suite B compliance and high-security enterprise environments
SHA-512512 bits128Maximum SecurityHighest collision resistance; optimal speed on 64-bit CPUs
SHA-1160 bits40Deprecated / LegacyVerifying older legacy files only; insecure for new signatures

Frequently Asked Questions

What is the difference between hashing and encryption?

Hashing is a one-way mathematical function that converts arbitrary data into a fixed-length digest. A hash cannot be 'decrypted' back into original text. In contrast, encryption is a two-way process designed to obscure data so that it can later be decrypted back to plain text using a secret key.

Can two different files produce the exact same hash?

In theory, because the number of possible inputs is infinite while the hash output length is fixed, mathematical collisions exist. However, for modern algorithms like SHA-256 and SHA-512, the probability of finding two different inputs with the same hash (a collision) is so infinitesimally small (1 in 2^256) that it is practically impossible with current computing technology.

Why is SHA-1 labeled as deprecated / legacy?

In 2017, computer scientists demonstrated a practical chosen-prefix collision attack against SHA-1 (known as SHAttered). Consequently, major security standards, web browsers, and certificate authorities no longer permit SHA-1 for digital signatures or security-critical validation. It is supported here solely for verifying legacy checksums.

Are my files uploaded to your servers to compute hashes?

No. All checksum calculations occur entirely within your browser using the browser's native Web Crypto API (crypto.subtle.digest). The file bytes are read into local device memory and hashed client-side; zero bytes are transmitted to any server.

Does a matching hash prove who created the file?

No. A matching hash confirms data integrity (that the file has not been altered or corrupted in transit), but it does not prove authenticity or identity. To prove authorship or identity, cryptographic digital signatures (such as GPG/PGP or X.509 certificates) or Hash-based Message Authentication Codes (HMAC) are required.

Related Developer Utilities