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 have to
call Cipher.update() repeatedly. If your data is incorrectly formatted,
the underlying Cipher will fail (if you are lucky) or produce garbage.

If you encrypted correctly, the encrypted data should be of the right size.
So you are either not storing/sending it correctly, or something between
receiver and sender is truncating it.

> PS: I've got an JUnit Test an it works there pretty well.
>

That doesn't prove much :) Your test probably uses static, correctly
formatted data, so it will, of course always work.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to