January 2018
Intermediate to advanced
340 pages
8h 6m
English
We usually don't encrypt whole messages with RSA because it can only encrypt messages smaller than the key size. The solution to this is typically to begin the communication with small messages that use the RSA keys to encrypt. When they have established a secure channel, they can safely exchange a shared key that they can use to symmetrically encrypt the rest of their messages without the size limitations. This is the approach SSL and TLS take to establish a secure communication. The handshake takes cares of negotiating which encryption algorithms will be used when generating and sharing a symmetric key.
Read now
Unlock full access