Category: 

What is a Checksum Algorithm?

Article Details
  • Written By: Troy Holmes
  • Edited By: W. Everett
  • Last Modified Date: 12 September 2016
  • Copyright Protected:
    2003-2016
    Conjecture Corporation
  • Print this Article
Free Widgets for your Site/Blog
Built at the request of Dag Hammarskjöld, the United Nations Headquarters has a meditation room dedicated to silence.   more...

October 1 ,  1890 :  Yosemite National Park was established.  more...

Computer data is typically stored in binary files, which are located on a computer file system. When data is saved onto a computer, it is converted into a binary format. This conversion process requires validation of a file's size to ensure the entire file was saved properly. A checksum algorithm is a mathematical function that checks files for corruption before they are saved.

Most business software applications allow users to create and save data files. This includes many Microsoft Office® products. When a Word® document file is saved to a computer, the word document is converted into a binary file. This conversion process requires a checksum algorithm to verify it worked properly. If this function detects and error the program prompts the user with an error message.

Many users share data files between computers by using emails. When a file is shared in an email, it is typically sent as an attachment. This attachment process uses a checksum algorithm to verify successful file transmission. The email system will notify the user if an error is returned from the algorithm. This file transmission device ensures a file is sent without errors.

Ad

Hashing algorithms are mathematical programs that convert data into a binary numerical value. This is similar to the checksum algorithm. The primary purpose of the algorithm is to assign a numerical value to a file. The value is based on the size of content within the file. This value is used as an error-checking device during the binary conversion process.

Data entry is another area where the checksum algorithm can be used. This function provides data validation on specific data. This process will ensure the proper format and data types were entered into specific input fields on a screen. As an example, the checksum algorithm can be used to validate a Social Security number.

A checksum error is the error that occurs when a checksum function fails. This typically happens when a comparable file size value is different then expected. A checksum is typically used for data validation, storage, and file transmission purposes.

When a computer is turned on, a checksum function is performed. This function compares the basic input-output system (BIOS) values of the booted computer to previously saved values. If the numbers are different, a warning message is presented to the user identifying a change in configuration. This is an example of a checksum error.

Ad

You might also Like

Recommended

Discuss this Article

Post your comments

exception 'Exception' with message 'error writing captcha: Duplicate entry '2147483647' for key 'PRIMARY'' in /ssd/www/wisegeek/public_html/_core/classes/public/Captcha.php:44
Stack trace:
#0 /ssd/www/wisegeek/public_html/_core/controls/public/ControlDiscussionPostBox.php(324): Captcha->createCaptcha()
#1 /ssd/www/wisegeek/public_html/framework/classes/Control.php(104): ControlDiscussionPostBox->preRender(false)
#2 /ssd/www/wisegeek/public_html/framework/classes/Control.php(149): Control->render()
#3 /ssd/www/wisegeek/public_html/tpl/default-nocustom-lu/pages/public/article/article.htm(526): Control->__toString()
#4 /ssd/www/wisegeek/public_html/framework/classes/Control.php(300): require('/ssd/www/wisege...')
#5 /ssd/www/wisegeek/public_html/framework/classes/Control.php(309): Control->requireTpl('pages/public/ar...', Object(PageArticleCom), true)
#6 /ssd/www/wisegeek/public_html/framework/classes/Control.php(131): Control->renderTpl('pages/public/ar...', Object(PageArticleCom))
#7 /ssd/www/wisegeek/public_html/framework/classes/FormDataControl.php(87): Control->renderTemplate()
#8 /ssd/www/wisegeek/public_html/framework/classes/Control.php(109): FormDataControl->renderTemplate()
#9 /ssd/www/wisegeek/public_html/framework/classes/ScriptPage.php(50): Control->render(false)
#10 /ssd/www/wisegeek/public_html/framework/classes/Control.php(149): ScriptPage->render()
#11 /ssd/www/wisegeek/public_html/framework/classes/Page.php(97): Control->__toString()
#12 /ssd/www/wisegeek/public_html/_core/classes/public/PublicFrontController.php(443): Page->processRequest()
#13 /ssd/www/wisegeek/public_html/_core/classes/public/PublicFrontController.php(7): PublicFrontController->renderPage()
#14 /ssd/www/wisegeek/public_html/index.php(11): PublicFrontController::run()
#15 {main}