PS3:MD5 Hash

From ConsoleMods Wiki
Jump to navigation Jump to search

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

  1. 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.
  2. Enter the command certutil -hashfile [filename] MD5, replacing [filename] with the name of the file you want to check.
  3. 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:

  1. Open a terminal window
  2. Enter the command md5sum [filename], replacing [filename] with the name of the file you want to check.
  3. Compare the generated MD5 Hash with the one you obtained from your source. If the Hashes match, your file is fine.