What is a Checksum? | A Definition from TechTarget.com (2024)

By

  • Kinza Yasar,Technical Writer
  • Laura Fitzgibbons

What is a checksum?

A checksum is a value that represents the number of bits in a transmission message and is used by IT professionals to detect high-level errors within data transmissions. Prior to transmission, every piece of data or file can be assigned a checksum value after running a cryptographic hash function. The term checksum is also sometimes called hash sum or hash value.

Checksums work by giving the party on the receiving end information about the transmission to ensure that the full range of data is delivered. The checksum value itself is typically a long string of letters and numbers that act as a sort of fingerprint for a file or set of files to indicate the number of bits included in the transmission.

If the checksum value the user calculates is even slightly different from the checksum value of the original file, it can alert all parties in the transmission that the file was corrupted or tampered with by a third party, such as in the case of malware. From there, the receiver can investigate what went wrong or try downloading the file again.

The common protocols used to determine checksum numbers are Transmission Control Protocol (TCP) and User Datagram Protocol (UDP). TCP is typically more reliable for tracking transmitted packets of data, but UDP may be beneficial to avoid slowing down transmission time.

What can cause an inconsistent checksum number?

While checksum values that don't match can signal something went wrong during transmission, a few factors can cause this to happen, such as the following:

  • an interruption in the internet or network connection;
  • storage or space issues, including problems with the hard drive;
  • a corrupted disk or corrupted file; and
  • a third party interfering with the transfer of data.

Common types of checksum algorithms

There are multiple cryptographic hash functions that programmers can use to generate checksum values. A few common ones are the following:

  • Secure Hash Algorithm (SHA) 0. This hash function was the first of its kind but was withdrawn shortly after its creation in 1993.
  • SHA-1. As of 2010, this hash function is no longer considered secure.
  • SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512). This family of hash functions relies on the size of the file and numbers to create a checksum value. The resulting checksums are vulnerable to length extension attacks, which involve a hacker reconstructing the internal state of a file by learning its hash digest.
  • Message Digest 5 (MD5). The MD5 hash function creates a checksum value, but each file won't necessarily have a unique number. So, it's open to vulnerabilities if a hacker swaps out a file with the same checksum value.
What is a Checksum? | A Definition from TechTarget.com (1)

How to check a MD5 checksum

To verify that a file hasn't been tampered with, the MD5 hash of that file should be verified. Also, when installing drivers for patches, it's important to ensure that the downloaded files are complete.

The MD5 hash is a cryptographic checksum that can be checked on either a PC or laptop. It can also be verified on different operating systems, such as Microsoft Windows, Linux and Apple macOS.

What is a Checksum? | A Definition from TechTarget.com (2)

Verifying an MD5 checksum on Windows

  1. Open Windows PowerShell or the command line by clicking on the Windows button on the Start menu.
  2. Once on the command prompt, type cmd in the search box, and press Enter. Alternatively, press the Windows button and R, type cmd, and press Enter.
  3. Go to the folder that contains the file whose MD5 checksum needs to be verified by typing cd followed by the path to the folder that the file resides in. Alternatively, the required folder can be dragged and dropped from Windows Explorer to insert the path.
  4. Type certutil -hashfile <file> MD5. Replace <file> with the file name.
  5. Press Enter.

The result of the checksum can be compared and verified with the expected results.

Verifying the MD5 checksum on a Mac

  1. Open Terminal.
  2. Navigate to the folder that contains the file whose MD5 checksum needs verification. Alternatively, for direct route, Terminal can be open right at a folder from Finder.
  3. Type md5 <file>, and replace <file> with the file name. Alternatively, the file can also be dragged and dropped into the Terminal window after typing md5.
  4. Press Enter.

When planning content migrations, it's imperative to ensure that files aren't corrupted during the move. Discover how to check and verify the integrity of files.

This was last updated in December 2022

Continue Reading About checksum

  • How to use a public key and private key in digital signatures
  • Symmetric vs. asymmetric encryption: What's the difference?
  • Weighing double key encryption challenges, payoffs
  • Electronic signature best practices to build in to your workflow

Related Terms

What is SSH (Secure Shell) and How Does It Work?
SSH (Secure Shell or Secure Socket Shell) is a network protocol that gives users -- particularly systems administrators -- a ...Seecompletedefinition
What is the Cybersecurity Information Sharing Act (CISA)?
The Cybersecurity Information Sharing Act (CISA) allows United States government agencies and non-government entities to share ...Seecompletedefinition
What is threat detection and response (TDR)? Complete guide
Threat detection and response (TDR) is the process of recognizing potential cyberthreats and reacting to them before harm can be ...Seecompletedefinition

Dig Deeper on Data security and privacy

  • What is bit rot?By: RahulAwati
  • hashingBy: KinzaYasar
  • message authentication code (MAC)By: RobertSheldon
  • Symmetric vs. asymmetric encryption: What's the difference?By: MichaelCobb
What is a Checksum? | A Definition from TechTarget.com (2024)
Top Articles
What is Facebook Reach: Basics
What are the advantages and disadvantages of paying dividends versus retaining earnings?
The Tribes and Castes of the Central Provinces of India, Volume 3
Maxtrack Live
Mchoul Funeral Home Of Fishkill Inc. Services
Kem Minnick Playboy
Cappacuolo Pronunciation
Joliet Patch Arrests Today
Devon Lannigan Obituary
Retro Ride Teardrop
Atrium Shift Select
Slay The Spire Red Mask
Urinevlekken verwijderen: De meest effectieve methoden - Puurlv
Prices Way Too High Crossword Clue
Uc Santa Cruz Events
Call Follower Osrs
Elle Daily Horoscope Virgo
Osrs Blessed Axe
2024 U-Haul ® Truck Rental Review
Christina Khalil Forum
Roster Resource Orioles
Ruse For Crashing Family Reunions Crossword
Panic! At The Disco - Spotify Top Songs
SuperPay.Me Review 2023 | Legitimate and user-friendly
Bill Remini Obituary
Regina Perrow
§ 855 BGB - Besitzdiener - Gesetze
1773x / >
Sandals Travel Agent Login
Pokemon Inflamed Red Cheats
10-Day Weather Forecast for Santa Cruz, CA - The Weather Channel | weather.com
30+ useful Dutch apps for new expats in the Netherlands
Wheeling Matinee Results
What Is The Lineup For Nascar Race Today
2430 Research Parkway
Mistress Elizabeth Nyc
Why Holly Gibney Is One of TV's Best Protagonists
Albertville Memorial Funeral Home Obituaries
sacramento for sale by owner "boats" - craigslist
Shoecarnival Com Careers
844 386 9815
705 Us 74 Bus Rockingham Nc
Suntory Yamazaki 18 Jahre | Whisky.de » Zum Online-Shop
The Average Amount of Calories in a Poke Bowl | Grubby's Poke
Jackerman Mothers Warmth Part 3
2487872771
Home | General Store and Gas Station | Cressman's General Store | California
Grace Charis Shagmag
Phumikhmer 2022
Famous Dave's BBQ Catering, BBQ Catering Packages, Handcrafted Catering, Famous Dave's | Famous Dave's BBQ Restaurant
Latest Posts
Article information

Author: Laurine Ryan

Last Updated:

Views: 5973

Rating: 4.7 / 5 (77 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Laurine Ryan

Birthday: 1994-12-23

Address: Suite 751 871 Lissette Throughway, West Kittie, NH 41603

Phone: +2366831109631

Job: Sales Producer

Hobby: Creative writing, Motor sports, Do it yourself, Skateboarding, Coffee roasting, Calligraphy, Stand-up comedy

Introduction: My name is Laurine Ryan, I am a adorable, fair, graceful, spotless, gorgeous, homely, cooperative person who loves writing and wants to share my knowledge and understanding with you.