What is Checksum and Related Tools with Calculation Examples

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/what-is-checksum-and-related-tools-with-calculation-examples/
PINTEREST
PINTEREST
INSTAGRAM

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.

Checksum Algorithms

There are a lot of algorithms used to calculate checksum or hash of given data. We can use following algorithms to calculate checksum.

  • MD5 is the most popular checksum algorithm bu it is currently assumed as insecure
  • LM is Windows operating system based check algorithm which is used to calculate password checksum
  • NTLM is older version of the LM
  • SHA1 is the generation and update of the MD5
  • SHA256 provides longer checksum value than SHA1 and 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 command.

Checksum Example
Checksum Example

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.

LEARN MORE  How To Verify Files and Signatures with PGP In Linux?

Checksum Example For Windows 
Checksum Example For Windows 

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/what-is-checksum-and-related-tools-with-calculation-examples/
PINTEREST
PINTEREST
INSTAGRAM