Achieving Data Integrity Using Cryptography
Data integrity refers to the accuracy, legitimacy, and consistency of information in a system. When a message is sent, particularly using an untrusted medium, data integrity provides us confidence that the message wasn’t tampered with. What Are Potential Causes of Illegitimate Data? Data integrity provides protection from a wide range of problems which involve data being mutated against the purposes of the system. Some potential problems include: Physical Accident – Bits of data sent over an imperfect medium can become corrupted. For example, a wireless signal could be lost temporarily, or a wire could experience a noisy electrical signal. Digital Accident – The software responsible for communicating the message could have bugs that unintentionally mutate a subset of messages. Malicious Actor – A man-in-the-middle could be altering messages in order to confuse correspondents or learn valuable information. Solution – Checksum A checksum solves all three o...