| Line 45: |
Line 45: |
| | | | |
| | ==Example== | | ==Example== |
| − | #
| + | Step 1 |
| | + | |
| | Fred needs to send documents to many people. They don't need to be secure, but its important that they know for certain that the message actually came from Fred. | | Fred needs to send documents to many people. They don't need to be secure, but its important that they know for certain that the message actually came from Fred. |
| | * Fred '''encrypts''' the message using his ''private key''. (only fred knows this key) | | * Fred '''encrypts''' the message using his ''private key''. (only fred knows this key) |
| Line 52: |
Line 53: |
| | * George '''decrypts''' the message using Fred's ''Public key''. | | * George '''decrypts''' the message using Fred's ''Public key''. |
| | * Only a message coded with the private key can be decoded wth the public key so George knows it came from Fred. | | * Only a message coded with the private key can be decoded wth the public key so George knows it came from Fred. |
| − | #
| + | |
| − | * George drafts a reply and '''encrypts''' it with Freds ''Public key''. | + | Step 2 |
| − | * only Freds ''private key'' can '''decrypt''' the message, so it is secure | + | * George drafts a reply and '''encrypts''' it with Fred's ''Public key''. |
| | + | * Only Freds ''private key'' can '''decrypt''' the message, so it is secure |
| | * Fred receives the message and decrypts it | | * Fred receives the message and decrypts it |
| − | * it's a valid message but Fred cant know who sent it, anyone with the public key could send to him. | + | * It's a valid message but Fred can't know who sent it, anyone with the public key could send to him. |
| − | | |
| − | This form of public key encryption works best with sets of private and public keys.
| |
| | | | |
| | + | This form of public key encryption works best with sets of private and public keys. |
| | | | |
| | ==References== | | ==References== |