Search This Blog

MD5 and SHA 1 checksum


How can we make sure that downloaded file from internet is not corrupted. there are two widely used methods. specially when you want to download larger files from internet there is more chance to change its’ integrity based on connection.
What’s md5 checksum?
The MD5 checksum for a file is a 128-bit value, something like a fingerprint of the file. There is a very small possibility of getting two identical checksums of two different files. This feature can be useful both for comparing the files and their integrity control.
What’s sha 1 ?
Checksums computed on the content of downloaded files are a way to verify that the content is authentic and has neither been altered by an unauthorized third party, nor been damaged during the transfer process across the Internet.
How can we check ?
Download HashStamp from Google play. ( I have tried many apps for the purpose. this is one of the best) you can check integrity of a downloaded file to your device before flashing/ installing using this app.
This example will explain you the process
I wanted to flash CyanogenMod build on my device Samsung galaxy i9500. I just visited their official download page. you will see sha 1 checksum below the download link.
sha1

hashstamp

then we will check sha 1 checksum of downloaded file.
  1. launch HashStamp app
  2. tap on file tab
  3. browse to the location of your downloaded file and select it
  4. tap on generate button
please compare generated SHA –1 checksum against what was mentioned on Cyanogenmod download page. is it same SHA-1 checksum? yes. it’s same. I do not want to bother about integrity of downloaded file. it’s ok to flash. it’s an identical copy of the original.






 
 
How to check  (alternative method)
you can also check the file checksum using windows computer. download MD5 & SHA checksum Utility 2.1 from cnet.com


you do not want to worry about integrity of downloaded file, if you already verify the MD5 or SHA-1 checksum. happy flashing.

No comments:

Post a Comment