Local file verification
Verify a download before you open it.
Choose the file you downloaded and paste its published SHA-256 value. Your browser reads the file locally and compares the two fingerprints.
SHA-256 verifier
Local operation · the selected file never leaves this device
- No upload
- SHA-256 via Web Crypto
- Exact byte-for-byte comparison
What the result proves
A checksum is a compact fingerprint of every byte in a file. The same input produces the same 64-character SHA-256 value.
A match shows that your local file is byte-for-byte identical to the file represented by the expected checksum.
A mismatch can come from an incomplete download, a modified file or the wrong checksum. Delete the file and fetch it again from the publisher.
Find the expected hash on SlicerShelf
SlicerShelf shows a SHA-256 value only when the release source supplies one. Never compare against a value invented from the file you already downloaded.
- Open the slicer’s release page and select the exact operating-system package.
- Look beneath the filename for “SHA-256” and copy the full value.
- Return here, select the downloaded file and paste that value into the comparison field.
- Open the file only when the calculated and expected values match.
How SHA-256 verification works
The browser reads the complete file and passes those bytes to the Web Crypto digest function. A one-byte change produces a different result with overwhelming probability.
A checksum confirms integrity, not authorship. Its value depends on where the expected hash came from; use the publisher’s release page or the source recorded by SlicerShelf.
Your file stays on this device
The file picker grants this page temporary read access to the file you choose. The verifier does not send the filename, contents or calculated checksum to SlicerShelf.
Closing or reloading the page discards the selected file and result. The browser may still keep its normal local history and cache for the page itself.
Practical limits
- Web Crypto calculates the digest after the browser has read the file into memory. This page therefore caps files at 512 MiB to avoid exhausting memory.
- A match cannot tell whether the publisher’s own file is safe, signed or appropriate for your printer. It only confirms that both byte sequences correspond.
- If no trusted expected SHA-256 is published, a checksum you calculate yourself is still useful for detecting later changes to your own copy.
Verify without a browser
For large files or an offline check, run the command for your operating system in the folder that contains the download. Replace the example filename exactly.
Windows · PowerShell
Built into current Windows PowerShell.Get-FileHash -Algorithm SHA256 ".\slicer-installer.exe"macOS · shasum
Built into macOS.shasum -a 256 "slicer-installer.dmg"Linux · sha256sum
Provided by GNU coreutils on most distributions.sha256sum "slicer-installer.AppImage"
Worked example: an empty file
An empty file has zero bytes, but it still has a defined SHA-256 fingerprint. Create or select an empty file and compare the result below.
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855Technical references
The implementation follows the Web Cryptography API digest method and the SHA-256 definition in NIST’s Secure Hash Standard.