I want to develop an Android app for encrypting and decrypting large files (~500Mb) with RSA and some symmetric encryption algorithms. How can I achieve this? What is the best solution to use on devices with just a few MB RAM?
Regards Bobby
CipherInputStream and CipherOutputStream let you use streams for encryption/decryption. This should let you deal with large file sizes without too many issues with memory. Sounds like you're already going down the right path with a combination of symmetric and asymmetric algorithms as RSA alone won't handle a large block of data.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With