by Neal R. Wagner
Copyright © 2002 by Neal R. Wagner. All rights reserved.
NOTE: This site is obsolete. See book draft (in PDF):
Cryptography provides four main types of services related to data that is transmitted or stored:
Consider first confidentiality. This is just a big word meaning ``secrecy'' -- keeping the data secret. For this, one uses encryption, a process of taking readable and meaningful data, and scrambling or transforming it so that someone who happens to intercept the data can no longer understand it. As part of the process, there has to be a way for authorized parties to unscramble or decrypt the encrypted data.
Integrity means keeping the data in unaltered form, while authentication means to know where the data came from and who sent it. Neither of these services has anything to do with secrecy, though one might also want secrecy. Consider, for example, the transfer of funds involving U.S. Federal Reserve Banks (and other banks). While secrecy might be desirable, it is of small importance compared with being sure who is asking for the transfer (the authetication) and being sure that the transfer is not altered (the integrity). One important tool that helps implement these services is the digital signature. A digital signature has much in common with an ordinary signature, except that it works better: when properly used it is difficult to forge, and it behaves as if the signature were scrawled over the entire document, so that any alteration to the document would alter the signature. In contrast, ordinary signatures are notoriously easy to forge and are affixed to just one small portion of a document.
The final service, non-repudiation, prevents someone from claiming that they had not sent a document that was autheticated as coming from them. For example, the person might claim that their private key had been stolen. This service is important but tricky to implement, and is discussed in various of the books referred to in the references.
Taken all together, cryptography and its uses and implementations have become essential for mankind's technical civilization. The future promise is for the smooth functioning of these and other services to allow individuals, businesses, and governments to interact without fear in the new digital and online world.