| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
How is Asymmetric Cryptography Used? Each entity that needs to encrypt messages is assigned a key pair one public key and one private key. As noted above, when using asymmetric cryptography, a message can be encrypted with either key, and once encrypted; it can only be decrypted by the OTHER key, not the original key that was used to encrypt it. Which of the two keys you choose to encrypt a message with, is determined by what youre trying to achieve with the encryption. For example, encrypting the message with the private key known only to you means that it can be decrypted by anyone with the public key (translation: anyone). This doesnt do much to maintain message confidentiality, but it does provide strong proof that the message is from you, since the message couldnt be decrypted with your public key if it wasnt from you. On the other hand, if you have someones public key, you can encrypt a message to him or her with his or her public key, so that only that person can decrypt it (with their private key). This means that once the message has been encrypted, it will remain confidential except to its intended recipient. However, since anyone with the public key can encrypt the message, this use of asymmetric cryptography doesnt provide proof of the senders identity. More will be said about this later in the chapter, when we discuss applications of public key cryptography. In addition to its use in public/private key systems, asymmetric cryptography is also used for the exchange of secret symmetric keys used for encrypting files, so that the symmetric key information can be communicated securely between authorized parties. This gets around one of the problems with symmetric key systems how to securely exchange key information. One asymmetric algorithm used for the secure exchange of a secret key is the Diffie-Hellman Key Agreement protocol. Why not send the entire file encrypted with asymmetric cryptography? One answer is that symmetric algorithms take less (often much less) CPU time/power to encrypt and decrypt. Because of the use of different keys to encrypt and decrypt, asymmetric cryptography has interesting uses in applications such as digital signatures, which will be discussed later.
Home - Table Of Contents - Contact Us CertiGuide for Security+ (http://www.CertiGuide.com/secplus/) on CertiGuide.com Version 1.0 - Version Date: November 15, 2004 Adapted with permission from a work created by Tcat Houser et al. CertiGuide.com Version © Copyright 2004 Charles M. Kozierok. All Rights Reserved. Not responsible for any loss resulting from the use of this site. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||