Hash Generators
SHA-1 Generator
Compute SHA-1 hashes via the browser's Web Crypto API.
Input
SHA-1 (0 hex chars)
Hash will appear here
About this tool
SHA-1 produces a 160-bit (40 hex character) hash. Still used in Git object IDs and legacy systems, but no longer considered secure against collision attacks. Use SHA-256 or stronger for new cryptographic work.
FAQs
Is SHA-1 still safe?
For collision-resistance, no - practical collision attacks exist since 2017 (SHAttered). For non-adversarial uses like Git revision IDs or non-security checksums it's still useful.
Why is Git using SHA-1?
Historical reasons. Git is gradually migrating to SHA-256 - newer repositories can opt in with `git init --object-format=sha256`.
Does my text leave the browser?
No. SHA-1 is computed by the browser's built-in Web Crypto, fully on-device.