This question already has an answer here:
I'm trying to figure out a way to do public key encryption on a very large piece of data.
For this, I of course want one side to do the encrypting but is unable to decrypt the data, and the other side to be able to decrypt data.
But for RSA encryption, there's a limit to the reasonable size-performance on how big it can encrypt.
I haven't really figured out a good solution to this problem, but the simplest one that comes to mind is to just reuse the public key to encrypt the data in blocks. Of course, this would create some sort of security problems, but as of right now I still don't exactly know what kind of security problems it would cause.
Could someone explain to me what problems this simple method would cause and perhaps also tell me of a way to achieve my goal of being able to do public key encryption on a large piece of data?