SHA-1 Hash

Instant 40-char SHA-1 digests from text

How to Use

SHA-1 produces a 160-bit digest (40 hex characters) and was long used for Git commit IDs, certificate fingerprints and file checksums. Although collision attacks have been demonstrated, it remains common in non-adversarial contexts like version control and deduplication.

How to use: type text and the SHA-1 digest appears automatically; toggle case and click to copy. Computation runs locally via your browser's WebCrypto — input never leaves your device. For security-sensitive use, prefer SHA-256.

FAQ

Which is more secure, SHA-1 or MD5?

SHA-1 has a longer digest (160 vs 128 bits) and slightly better collision resistance, but both are considered broken for security signatures. Use SHA-256 or above for new systems.

Why does Git still use SHA-1?

Git uses SHA-1 for object addressing and integrity checks, guarding mainly against accidental corruption rather than adversarial attacks. The Git project is migrating to SHA-256.

Is my input uploaded?

No. Hashing runs locally through your browser's built-in WebCrypto API with zero network requests.