File checksum
Compute the SHA-256, SHA-384 or SHA-512 checksum of a file, alone or with the file name and size.
Your result
Your result will appear here.
About file checksum
Check that a download, a backup or a file someone sent you matches the original by comparing its checksum with the published value. Files of every type up to 20 MB work. Algorithm chooses SHA-256, SHA-384 or SHA-512, which give 64, 96 or 128 hexadecimal characters. Result decides what you get. Checksum only is the bare value, ready to paste beside a published one. File name, size and checksum is a short record to keep with an archived document or a data set.
How it works
StillKit reads the whole file into memory and hashes its exact bytes with the chosen function of the browser's Web Crypto interface. Checksum only shows the digest in lowercase hexadecimal. The record is JSON with 3 entries: file for the name, bytes for the exact size, and the checksum under the name of its algorithm, such as sha256. The file's name and dates are not part of what is hashed.
Tips
- If the file and its checksum come from the same place, someone who changed one could change both. Take the expected value from a separate source you trust.
- Hex is not case-sensitive, so a published value in capitals matches this lowercase one.
- A single changed byte gives a completely different checksum, so compare every character, not only the first and last few.
- A value written as sha256- or sha512- followed by letters, digits, + and / is Base64, not hex, and will not match this result directly.
- The name in the record is not part of the checksum, so a renamed copy still gives the same value.
Limits
All cryptography runs locally in Web Crypto. Never paste live secrets into a device you do not trust. Inputs are not stored or sent. A compromised browser or served application can read inputs. Maximum 20 MB. A checksum needs a trusted reference to establish authenticity, and a matching checksum does not prove that a file is safe.
One job runs at a time. You can cancel it; jobs stop after 30 seconds. Browser and device capabilities affect performance.
How tools run on your device →Questions and answers
Which algorithm should I pick?
The one the publisher lists next to the download, because values from different algorithms cannot match. If only a value is given, count its hexadecimal characters: 64 point to SHA-256, 96 to SHA-384 and 128 to SHA-512.
Does a matching checksum mean the file is safe?
No. It means your copy is byte for byte the same as the file the checksum was made from. Whether that file is safe depends on who published it, and StillKit does not scan files.
What is the record with the file name and size for?
For noting exactly which file you archived or handed over. Keep the record next to the file; later, run the tool on a copy and compare the 2 records. A different bytes value shows at once that the copy is not the same file.