EPRI: Electric Power Research Institute

Software Development

Generating a Hash

What Is a Hash?

The MD5 hash (a.k.a. checksum) for a file is a 128-bit value and is like a fingerprint of the file. There is a very small possibility of getting two identical hashes of two different files. An MD5 hash is useful both for comparing the files and their integrity control. The SHA-1 hash is a 160-bit crytographic function.

An MD5 hash (SHA-1 hash is optional) must accompany all zip file submittals.

How to Generate a Hash

  1. Download Microsoft FCIV from: http://support.microsoft.com/kb/841290
  2. Place downloaded FCIV.exe application in directory "C:\FCIV"
  3. Place files (e.g., software and manual, etc.) in a zip (e.g., "Software1.zip")
  4. Place "Software1.zip" file in directory "C:\FCIV"
  5. Open Command Prompt, navigate to directory by typing "cd C:\fciv"
  6. Once in "C:\fciv" directory, Type the following in the Command Prompt
    fciv.exe -add C:\FCIV\Software1.zip -both >> C:\FCIV\Hash.txt
  7. Open the "Hash.txt" file to view and SHA-1 and MD5 hash values.