In: Computer Science
Hybrid encryption combines the convenience of a public-key cryptosystem with the efficiency of a symmetric-key cryptosystem and it is used in both TLS and SSL. Say we have the secured RSA and AES available, show how to use hybrid encryption to encrypt a message m= m1m2m3m4m5 with 640 bits without a pre-shared secret between Alice and Bob.
Solution for the problem is provided below, please comment if any doubts:
Here the message “m” needs to be transmitted between Alice and Bob but there is no shared secret between them.
There are secured RSA and AES are available.
We can use the hybrid encryption in two ways, either we can use public key crypto system first or symmetric key crypto system first.
Step 1: First use RSA for a key exchange between Alice and Bob
Step 2: Use AES to perform symmetric encryption