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, mac-systems <jens.h...@gmx.de> wrote:
> > I try to read encrypted data, but always get java.io.IOException: last
> > block incomplete in decryption
>
> Dump the encrypted stream to file and check its length. It must be a
> multiple of 8 (block size is 64 bits for DES) for decryption to work.
> If it's not, check your code, you probably have a bug somewhere.
>
> And don't use DES if you can avoid it.

-- 
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