The value to compare
For the MJ PDF 3.1.0 APK (8.66 MB) on this site, the SHA-256 is:
026d0a38638f2680f75f30b40720eb9fa71e823f6e3d6b4812aff313a9fdaf98 Windows
In PowerShell, run this from the folder containing the file:
Get-FileHash .\mj-pdf-3.1.0.apk -Algorithm SHA256 macOS and Linux
sha256sum mj-pdf-3.1.0.apk # Linux
shasum -a 256 mj-pdf-3.1.0.apk # macOS On the phone
Install a file-manager or hashing app from a source you trust and choose the SHA-256 option, or copy the file to a computer and use one of the commands above.
Reading the result
The two values must be identical, character for character. If they differ, delete the file and download it again from the download page. A checksum proves integrity, not safety by itself, so combine it with checking the package name and the permissions.
Why checksums exist
Files can be damaged by an interrupted download or altered by someone between the publisher and you. A cryptographic hash such as SHA-256 reduces a file to a 64-character fingerprint. It is practically impossible to change the file and keep the same fingerprint.
SHA-256 vs MD5
Older sites sometimes publish MD5. MD5 is considered broken for security purposes because different files can be crafted to share a fingerprint, so prefer SHA-256 whenever it is offered.
A worked example
- Download the APK from the download page.
- Run the command for your system from the folder that contains it.
- Copy the 64-character output.
- Paste the published value next to it and compare the first and last characters, then the whole string.
Key points
- Compare the whole 64-character value, not just the start.
- A mismatch means: delete and download again.
- Checksums show integrity; they don’t replace trusting the source.
Questions
Does a matching checksum mean the app is safe?
It means the file is exactly what the publisher listed. Whether to trust the publisher is a separate decision.