SHA-1 Hash Generator
Generate SHA-1 hash values for data integrity verification.
Make the SHA-1 hash of text: a 40-character hex fingerprint. SHA-1 is still used for Git object IDs, some legacy checksums and older APIs, but it's been broken for security since a practical collision was published in 2017, so use SHA-256 for anything new. The hash is calculated in your browser as you type, and you can compare it with an expected value.
Text is encoded as UTF-8 before hashing. The values shown are the hashes of an empty string. Line breaks and trailing spaces change the result.
MD5 and SHA-1 are fine for checksums but are broken for security. Use SHA-256 or better for signatures, and bcrypt or scrypt for passwords.
Common use cases
- Match a legacy system that uses SHA-1
- Check a SHA-1 value from older documentation
- Learn how hashes change with tiny input changes
How to use
- Type or paste the text.
- Copy the SHA-1 hash.
- Optionally compare it with an expected hash.
FAQ
Why is SHA-1 considered broken?
Researchers made two different PDF files with the same SHA-1 hash in 2017. That makes it unsafe for signatures and certificates.
Is Git's hash the same as this?
Not quite: Git hashes a header ('blob' and the size) plus the content, so hashing the text alone gives a different value.
Related tools
- MD5 Hash GeneratorGenerate MD5 hash checksums for text verification and comparison.
- SHA-256 Hash GeneratorGenerate secure SHA-256 cryptographic hash values.
- SHA-512 Hash GeneratorGenerate SHA-512 hash values for maximum security hashing.
- CRC32 Hash GeneratorGenerate CRC32 checksums for quick data integrity checks.
- Reverse TextReverse text character by character or word by word.
- Upside Down Text Generator: Flip TextTurn text upside down to copy and paste: letters are flipped and reversed so it reads when the screen is…