I am working on an application that shows a series of mp4 files. So that users do not just copy them from the SD card where they are stored, we want to encrypt them (using DES at the moment). Most encrypted files, such as images and xml, can be easily decrypted at runtime, but I have problems with the video. All this must be done in memory, since decrypting it to an SD card before using it makes the whole idea useless.
Anyone have any ideas on how I can do this? Files are also quite large, so keep in mind memory limitations, and this should be minimal for Android 2.3.3.
source share