Scanbot SDK has been acquired by Apryse! Learn more

Learn more
Skip to content

What is a Checksum?

A checksum is a mathematical algorithm that generates a unique value based on a set of data being transmitted. This value is then used to verify the authenticity of the data and ensure that it has not been corrupted during transmission, providing an added layer of protection.
In the following, we will delve deeper into the concept of checksum, and how a single period can make a huge difference.

How does a checksum work?

A checksum or hash sum works by creating a unique value from the data being transmitted. This value is calculated using a specific algorithm, and it is attached to the data set being transmitted. The receiver of the data packet can then perform the same calculation and compare the generated checksum value with the attached value. If the two values match, it is assumed that the data was transmitted without any errors. If the values do not match, the data set is considered to be corrupt, and it must be retransmitted.

Checksum examples

Although checksums seem tricky to understand, we’d like to prove to you that they are, in fact, not hard to understand at all. Let’s generate a hash sum from text using the MD5 checksum:

Scanbot is pretty great.

E987ADC564E40DA3667C238E3B8B06C9

Now, let’s remove just the period. You will see that the 128-bit code has completely changed:

Scanbot is pretty great

48A1162833C070324E2EB3E6812D1B87

Checksums are widely used in the transmission of files, especially over the internet. In this case, the sender might generate a checksum value for the file being transmitted and includes it with the file. The receiver then generates a checksum value for the downloaded file and compares it with the original checksum value to ensure that the file was downloaded error-free.

Checksum benefits

Checksums are a simple and effective way to ensure the integrity of digital data. By providing an added layer of protection against data corruption, checksums can help to improve the security and reliability of digital systems. However, they do not provide any error correction.

Experience our demo apps

Barcode Icon Art

Barcode Scanner SDK

Scan 1D and 2D barcodes reliably in under 0.04s. Try features like Batch Scanning, Scan & Count, and our AR Overlays.

Launch Web Demo

Scan the code to launch the web demo on your phone.

Web QR Code

Also available to download from:

Document Icon Art

Document Scanner SDK

Scan documents quickly and accurately with our free demo app. Create crisp digital scans in seconds.

Launch Web Demo

Scan the code to launch the web demo on your phone.

Black and white QR code. Scan this code for quick access to information.

Also available to download from:

Data_capture Icon Art

Data Capture Modules

Try fast, accurate data capture with our demo app. Extract data from any document instantly – 100% secure.

Launch Web Demo

Scan the code to launch the web demo on your phone.

Black and white QR code. Scan this quick response code with your smartphone.

Also available to download from: