SHA-1 File Hash
Calculate SHA-1 File Hash for text or file bytes.
FAQ
Where is data processed?
In your browser. Inputs are not uploaded.
What is supported?
Only the listed modes and finite examples are covered; this is not an all-input proof.
Other Languages
References
How we make sure
We check this tool with the automated test suites linked below. Example checks are shown in their original language.
- Verification method
- Pass a binary buffer containing zero, high-bit and non-UTF8 bytes through the actual file hash operation and compare Node SHA-1.
- Comparison reference
- Node.js 24.22.1 crypto (OpenSSL 3.5.9).
- Verification scope
- Only the listed modes and finite examples are covered; this is not an all-input proof.
Test source and cases (select a file to read it)
-
completion-tools.test.js
- sha1-file: binary file bytes match Node crypto
These checks cover the listed examples and boundaries, not every possible input. Round trips and checks using the same library are not independent verification.