Double SHA-256 (SHA-256d) Calculator
Apply SHA-256 twice to text or file bytes.
How to use
The second SHA-256 pass reads the first digest as 32 raw bytes. To reproduce it with two tools, set the second tool’s input encoding to Hex before pasting the first digest.
FAQ
Does the intermediate digest leave my device?
Both SHA-256 passes run locally. The first pass feeds raw bytes directly into the second, without uploading the message or intermediate digest.
What is supported?
Enter UTF-8, Hex or Base64, or select a file up to 8 MiB. The final digest is shown as 64 Hex characters.
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
- Compare the actual result with two consecutive Node SHA-256 operations, passing raw digest bytes to the second hash.
- Comparison reference
- Node.js 24.22.1 crypto (OpenSSL 3.5.9).
- Verification scope
- Covers one fixed message and confirms raw digest bytes are used for the second pass.
Test source and cases (select a file to read it)
-
completion-tools.test.js
- double-sha256: bytes match two Node SHA256 operations
These checks cover the listed examples and boundaries, not every possible input. Round trips and checks using the same library are not independent verification.