I need to encrypt a 100KB file using a public key. I\'ve been reading some posts claiming that it is not practical to directly encrypt large files using a public key, and th
The hybrid approach you mention (generate a random symmetric key, use this to encrypt the data, and encrypt only the key asymmetrically) has a massive performance advantage.
You could "break the large file to pieces and encrypt each one of them using the same public key" as well, there is nothing wrong with that, but it is much slower.