Archived Forum Post

Index of archived forum posts


How to Encrypt/Decrypt a Stream?

Dec 19 '14 at 08:49

One more question is how to decrypt file into an InputStream in Android? I want to let user view a encrypted video. Because Android MediaPlayer did not support encrypted file, I have to embed a server inside Android app, decrypt file and stream the data to MediaPlayer. The normal Android CipherInputStream was too slow to be usable - take up to 20 seconds to start playing. I want to use CkCrypt2 for this but unable to make it work yet.


Here are some links to examples in VB.NET and C#. I know you need Java (or C++), but the Chilkat API is identical (except for programming language syntax) across the different languages: