Security · Reproducible
Verify a downloaded file with SHA-256
Reproduce a known SHA-256 checksum, compare download hashes and understand what a matching hash cannot prove.
What a checksum tells you
A SHA-256 digest identifies the bytes of a file. A match with a trusted expected digest gives strong evidence that the downloaded bytes match the expected file. A matching hash from an untrusted download page is not proof of safety or publisher identity.
Try a known three-byte test
- Save exactly the three ASCII characters
abcas a plain-text file, without a newline or byte-order mark. - Open the file checksum calculator, select the file and choose SHA-256.
- Run the tool and compare the result below.
Expected digest (64 hexadecimal characters):
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
If it differs, check for a trailing newline, encoding changes or extra spaces. A text file containing four bytes is not the same file as a three-byte file.
Use the result on a real download
Obtain the expected SHA-256 from the software publisher through a trusted channel. Compare all 64 characters, not just the first few. If the hashes differ, do not use the file until the discrepancy is resolved. Keep the source file unchanged. CraftAI accepts local files up to 10 MB on this tool.
When to use another verification method
For authenticity, prefer the publisher's verified digital signature when provided. MD5 and SHA-1 are unsuitable for security-sensitive authenticity decisions. A hash also cannot detect whether a legitimate file contains malicious code.