checksum is an function used to to calculated some value for given data. As we see
check is used to check given data with calculated sum. Data may be little or very big like 1 MB, 10 MB etc. but the checksum value will be the same size bu different for each different type of data. checksum is also called hash values.
There are a lot of algorithms used to calculate checksum or hash of given data. We can use following algorithms to calculate checksum.
MD5is the most popular checksum algorithm bu it is currently assumed as insecure
LMis Windows operating system based check algorithm which is used to calculate password checksum
NTLMis older version of the
SHA1is the generation and update of the
SHA256provides longer checksum value than
SHA1and more secure.
Check algorithms generally used for data integrity and security. For example a data part is checksum is calculated and data is traveled over the network and this data may be corrupt. To Be sure the data checksum is calculated again and controlled with provided checksum.
Checksum Example For Linux OpenSSL
There are a lot of different checksum tool which can be used for calculation. We can use
openssl in Linux operating system. In this exmaple we will aclculate the checksum of file named
phpinfo.php file which contians som PHP code. We will provide
sha1 option to the
$ openssl sha1 phpinfo.php
Checksum Example For Windows
Windows also provides a checksum tool named
certutil.exe natively. This tool can be used to calculated certificates and etc. too. We can use this tool to calcualte
MD5 checksum of given file like below.
> CertUtil -hashfile '.\Users\İsmail Baydan\Downloads\genymotion-2.12.1-vbox.exe' MD5