java - Android AES/CBC encryption -


currently i'm using aes/cbc encryption using javax.crypto.cipher library, however, i'm finding little slow. takes anywhere between 45s-1m decrypt 10 minute .mp4 video file.

is there better way on android? i'm looking around , found posts openssl faster?

any links, helpful posts and/or comments appreciated.

use streaming instead of file decryption. if stream video can perform decryption of video need it. if use ctr or cbc mode can skip specific place within stream, although take additional tricks make happen.

leaving decryption default provider should first choice, can speed things using native decryption library.


Comments

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -