Manual:PopulateImageSha1.php/en

Details
populateImageSha1.php file is a maintenance script to populate the  field. The field in the  table is used to store   hash of the file contents in base 36 format.

This script runs by default when you run.