Generate SHA-1 hashes | 40-character output | Case-sensitive | Perfect for Git
â Test Vectors (Verify your results):
What is SHA-1? SHA-1 (Secure Hash Algorithm 1) is a cryptographic hash function that produces a 160-bit (40-character) hash value. It was designed by the National Security Agency (NSA) and is widely used in Git version control, legacy systems, and data integrity verification.
â ī¸ Security Note: SHA-1 is no longer considered cryptographically secure for security-critical applications. Collision attacks have been demonstrated since 2017. However, SHA-1 remains widely used in Git for commit IDs and in legacy systems where security is not the primary concern. For new applications, use SHA-256.
A SHA-1 hash generator is a tool that converts any input text into a fixed 40-character hexadecimal hash value. Even a small change in input produces a completely different hash. This makes SHA-1 perfect for data integrity verification and version control systems like Git.
| Input | SHA-1 Hash |
|---|---|
| "" (empty) | da39a3ee5e6b4b0d3255bfef95601890afd80709 |
| "Hello World" | 0a4d55a8d778e5022fab701977c5d840bbc486d0 |
| "hello world" | 2aae6c35c94fcfb415dbe95f408b9ce91ee846ed |