Wiki
Puffercat's ROM Archive > Wiki > Verify a downloaded file with checksums

Verify a downloaded file with checksums

After downloading a file, you can use checksums to make sure it's not corrupted.
In this archive I use 2 types of checksums (on newer uploads). SHA-256 and MD5.

Instructions:

macOS:

Open the Terminal and run the following command

For SHA-256:

shasum -a 256 [file path]

For MD5:

md5 [file path]

Now compare the result of that command with the checksum in the post. If it matches, your file is valid. If it doesn't, delete the file and download it again.


Linux:

Open the Terminal and run the following command

For SHA-256:

sha256sum [file path]

For MD5:

md5sum [file path]

Now compare the result of that command with the checksum in the post. If it matches, your file is valid. If it doesn't, delete the file and download it again.


Windows:

Open PowerShell and run the following command

For SHA-256:

certutil -hashfile [file path] SHA256

For MD5:

certutil -hashfile [file path] MD5

Now compare the result of that command with the checksum in the post. If it matches, your file is valid. If it doesn't, delete the file and download it again.