RNCryptor memory issue image

One of the more recent apps which we developed had to take photos of confidential documents and eventually upload them to a remote server. Taken photos are stored within the app itself and password encrypted so they are not accessible by a third party in any way. The encryption is done via RNCryptor library and, since each file is up to 10 MB in size, consumes up to 50 MB of memory. RNCryptor supports ARC and this temporary memory load doesn’t cause any issues. However, our server supports upload of up to 20 files and, when files are decrypted one after another, memory overload accumulates. In order to solve this, we created a recursive method which decrypts files in background ...
Continue Reading