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

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

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

html - jQuery UI Sortable - Remove placeholder after item is dropped -