[android-developers] Re: Anyone got an example using CipherInputStream and PBE to work ?

2011-10-03 Thread mac-systems
Thanks, i will have a look. Sounds like i may completely have a wrong impression how the cipherstream have to be used. I was curious about how this can work: /* * Read a predefined data block. If the password is incorrect, we'll get a security * exception here. Without this, we will only get

[android-developers] Re: Anyone got an example using CipherInputStream and PBE to work ?

2011-10-02 Thread mac-systems
Just give me a bit more Info there please. I througth the CipherInputStream / CipherOutputStream deal with the details there ? PS: I've got an JUnit Test an it works there pretty well. On 2 Okt., 21:21, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Mon, Oct 3, 2011 at 2:36 AM,

Re: [android-developers] Re: Anyone got an example using CipherInputStream and PBE to work ?

2011-10-02 Thread Nikolay Elenkov
On Mon, Oct 3, 2011 at 4:41 AM, mac-systems jens.h...@gmx.de wrote: Just give me a bit more Info there please. What exactly do you need to know? I througth the CipherInputStream / CipherOutputStream deal with the details there ? No. Those just wrap encryption/decryption code, so you don't

Re: [android-developers] Re: Anyone got an example using CipherInputStream and PBE to work ?

2011-10-02 Thread Nikolay Elenkov
On Mon, Oct 3, 2011 at 10:34 AM, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Mon, Oct 3, 2011 at 4:41 AM, mac-systems jens.h...@gmx.de wrote: Just give me a bit more Info there please. What exactly do you need to know? You might want to read through the tutorials on this site, the