It's described very well by this diagram. It seems like the process used is convoluted and more round-about than it needs to be. Why is an intermediate random key generated for the payload's encryption and then transmitted with the message after its own encryption using the recipient's public key, instead of just using the recipient's public key directly on the message? Isn't it the same, as far as security properties go?
|
|
RSA is not used directly due to several reasons:
The fourth reason is the most often quoted, but actually the least compelling of the four. |
|||||||||||
|
|
It's hard to find a good reference, but RSA isn't very fast:
So, encrypting a small symmetric key and then encrypting the data with that is much faster. In case you're concerned that DES isn't a good example (since no sane person would use it these days), AES's speed is on the same order of magnitude. |
||||
|
|
|
Its simply because RSA is A) Very slow B) Can only encrypt X amount of bits depending on the size of the key. The method here is generating an AES key which is much faster and can encrypt (AFAIK) unlimited amount of bits. Because AES is symmetrical there is no way a party can give it to another party without encryption. This is why asymmetrical encryption (RSA) is used and why PGP requires people to have your public key to send you a messages. |
|||
|
|