How To Check Integrity Of Files?

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/check-integrity-files/
PINTEREST
PINTEREST
INSTAGRAM

In today IT world everything connected and a lot of data in being downloaded from internet or over networks. This may create some minor problems. The data downloaded may be corrupted or there may be some intruders in network and with man of the middle attack may change our files. There are different solutions for this but simplest and fastest solution is using hash algorithms to verify file integrity. There are different hash function to use but MD5 and SHA1 is popular ones

Download Nmap

We will download nmap pacake named nmap-7.31.tgz from nmap.org . We will use this file as a example where this file hash is all ready provided by nmap web site.

Get Hash Values From Site

We will calculate hash of downloaded file nmap-7.31.tgz 

Get Hash Values From Site
Get Hash Values From Site

Here is the contents of the hash file

Calculate Hash

We will use sha1sum to calculate SHA1 , md5sum to calculate MD5 sha24sum to calculate SHA256 and sha512sum to calcualte SHA512 of the given file.

Calculate Hash
Calculate Hash

As we see newer SHA version creates longer hash because they are more secure and complex. If we check calculated hash and web site provided hash we can see that everything is OK.

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/check-integrity-files/
PINTEREST
PINTEREST
INSTAGRAM
LEARN MORE  How To Crack Password with John The Ripper Incremental Mode