July 2017
Beginner to intermediate
358 pages
10h 54m
English
We have already discussed the fact that the problem with asymmetric encryption is that it can only be used for relatively small messages; however, the benefits of not having to deal with key distribution makes asymmetric encryption hugely advantageous over symmetrical encryption. There is a common solution to this problem: that solution is to create a random key and symmetrically encrypt a message, and then asymmetrically encrypt the key and distribute both parts to the receiver. Only the holder of the private key will be able to decrypt the symmetrical key, and only once the symmetrical key has been decrypted can the receiver decrypt the main message:
69 // EncryptLargeMessageWithPublicKey encrypts ...
Read now
Unlock full access