JSONToonPro
Hash generator

SHA-1 Hash Generator

Free online SHA-1 hash generator. Generate a 160-bit SHA-1 hash from any text instantly. Output in hex and Base64. Note: SHA-1 is deprecated for security use; use SHA-256 for new systems.

100% client sideInstant resultNo data sent

Algorithm

Input Text
0 chars / 0 bytes
SHA-1 Hash
Hash appears here...

Frequently asked questions

4 answers
SHA-1 (Secure Hash Algorithm 1) is a cryptographic hash function published by NIST in 1995. It produces a 160-bit (20-byte) digest, displayed as a 40-character hexadecimal string. SHA-1 processes input in 512-bit blocks using 80 rounds of a compression function. It was widely adopted in the early 2000s for TLS certificates, code signing, and git object IDs (though git is moving to SHA-256).

More JSON Tools

About SHA-1

SHA-1 was designed by the NSA and published by NIST in 1995 as a revision of SHA-0, which had an undisclosed flaw. For two decades it was the dominant cryptographic hash function, used in TLS, S/MIME, PGP, SSH, and git. The SHAttered attack in 2017 demonstrated a practical collision with only 2^63.1 SHA-1 computations, far fewer than the 2^80 expected from brute force. As a result, all security-critical uses have migrated to SHA-2 or SHA-3. SHA-1 remains useful for generating short identifiers and checksums in non-adversarial contexts. This tool computes SHA-1 using the browser's SubtleCrypto API.