PS3:MD5 Hash: Difference between revisions
(Created page with "The MD5 hash, also known as the checksum for a file, is a 128-bit value that is a nearly-unique fingerprint of a file. By checking the hash of a file against the value posted...") |
XMBystander (talk | contribs) (Added instructions for comparing MD5 sums on linux. Also clarified importance of the hash in last step of the windows instructions.) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:PS3]] | |||
The MD5 hash, also known as the checksum for a file, is a 128-bit value that is a nearly-unique fingerprint of a file. By checking the hash of a file against the value posted on the download page, you can ensure that you have the correct file, and that it has not gotten corrupted along the way. You can either use a website to check the the MD5 hash, or use an installed program to check it. You can find a list of common firmware's MD5 values [[PS3:Firmwares|on the firmwares page]] or plug the MD5 in [https://archive.midnightchannel.net/SonyPS/Firmware/?cat=validate on this site] to see what firmware it corresponds to. | The MD5 hash, also known as the checksum for a file, is a 128-bit value that is a nearly-unique fingerprint of a file. By checking the hash of a file against the value posted on the download page, you can ensure that you have the correct file, and that it has not gotten corrupted along the way. You can either use a website to check the the MD5 hash, or use an installed program to check it. You can find a list of common firmware's MD5 values [[PS3:Firmwares|on the firmwares page]] or plug the MD5 in [https://archive.midnightchannel.net/SonyPS/Firmware/?cat=validate on this site] to see what firmware it corresponds to. | ||
Line 10: | Line 11: | ||
You can install programs, such as [http://www.majorgeeks.com/files/details/hashtab.html HashTab], which will generate different checksum hashes for a file. In the case of HashTab, you can right-click any file, select Properties, and it will have an integrated information tab that shows all the major hash values. Simply click the MD5 line and paste your known MD5 hash into the text field. If they match, your file is identical to the original. | You can install programs, such as [http://www.majorgeeks.com/files/details/hashtab.html HashTab], which will generate different checksum hashes for a file. In the case of HashTab, you can right-click any file, select Properties, and it will have an integrated information tab that shows all the major hash values. Simply click the MD5 line and paste your known MD5 hash into the text field. If they match, your file is identical to the original. | ||
==Method 3 - Command line== | |||
Many popular operating systems include local methods to check the hash of files. | |||
===Windows=== | |||
# Open a Command Prompt Window and change directory using the `cd` command to the location of the file to be checked. | |||
#* You can easily get the text address of a directory by opening it in File Explorer, right-clicking the address bar to the left of the search bar, and clicking 'Copy Address'. | |||
#* If the file is not on the Operating System drive (C:), enter the letter assigned to the drive followed by a colon. E.g. `D:` and press enter. | |||
# Enter the command <code>certutil -hashfile [filename] MD5</code>, replacing <code>[filename]</code> with the name of the file you want to check. | |||
# Compare the generated MD5 Hash with the one you obtained from your source. If the Hashes match, your file is fine. | |||
=== Linux === | |||
On most Linux distributions, the tool ''md5sum'' comes preinstalled and can be used to output the MD5 hash of a file: | |||
# Open a terminal window | |||
# Enter the command <code>md5sum [filename]</code>, replacing <code>[filename]</code> with the name of the file you want to check. | |||
# Compare the generated MD5 Hash with the one you obtained from your source. If the Hashes match, your file is fine. |
Latest revision as of 19:09, 8 February 2023
The MD5 hash, also known as the checksum for a file, is a 128-bit value that is a nearly-unique fingerprint of a file. By checking the hash of a file against the value posted on the download page, you can ensure that you have the correct file, and that it has not gotten corrupted along the way. You can either use a website to check the the MD5 hash, or use an installed program to check it. You can find a list of common firmware's MD5 values on the firmwares page or plug the MD5 in on this site to see what firmware it corresponds to.
Method 1 - Website
Certain websites, such as MD5File.com, will allow you to upload a file to generate a MD5 hash to check against your known MD5 hash. Simply make sure that the MD5 box is selected, drag your file onto the webpage, and compare the resulting MD5 hash with your known MD5 hash. If they match, your file is identical to the original.
- Note the popular site "OnlineMD5" seems to give wrong hashes for some files.
Method 2 - Program
You can install programs, such as HashTab, which will generate different checksum hashes for a file. In the case of HashTab, you can right-click any file, select Properties, and it will have an integrated information tab that shows all the major hash values. Simply click the MD5 line and paste your known MD5 hash into the text field. If they match, your file is identical to the original.
Method 3 - Command line
Many popular operating systems include local methods to check the hash of files.
Windows
- Open a Command Prompt Window and change directory using the
cd
command to the location of the file to be checked.- You can easily get the text address of a directory by opening it in File Explorer, right-clicking the address bar to the left of the search bar, and clicking 'Copy Address'.
- If the file is not on the Operating System drive (C:), enter the letter assigned to the drive followed by a colon. E.g.
D:
and press enter.
- Enter the command
certutil -hashfile [filename] MD5
, replacing[filename]
with the name of the file you want to check. - Compare the generated MD5 Hash with the one you obtained from your source. If the Hashes match, your file is fine.
Linux
On most Linux distributions, the tool md5sum comes preinstalled and can be used to output the MD5 hash of a file:
- Open a terminal window
- Enter the command
md5sum [filename]
, replacing[filename]
with the name of the file you want to check. - Compare the generated MD5 Hash with the one you obtained from your source. If the Hashes match, your file is fine.