I am working on an ecryption module for an app, and I need to be able to encrypt an entire file to send it over the network to the server.
The functionality I am looking for is similar to what gnu pgp provides (or the Windows counterpart, Cryptophane).
Problem I am running into is that RSA appears to only work up to a certain size (and not very big at that).
How would I use RSA to encrypt a 500k or 1mb file?
Worst case scenario, can it be used to encrypt 8192 bytes at a time so I can encrypt the chunks being sent to the server?
Thanks in advance.