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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.