> Caused by: javax.crypto.IllegalBlockSizeException: Input length must be
> multiple of 8 when decrypting with padded cipher
>       at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..)
>       at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..)
>       at com.sun.crypto.provider.BlowfishCipher.engineDoFinal(DashoA13*..)
>       at javax.crypto.Cipher.doFinal(DashoA13*..)
>       at org.jsecurity.crypto.BlowfishCipher.crypt(BlowfishCipher.java:191)
>       ... 35 more

I have seen this when the "key" used for the encryption wasn't 8
characters in length. I can't remember much about it, but I vaguely
remember "secret" being used, which of course has only 6 characters.
Sorry, my memory's a bit hazy on this front, but this might be enough
information to trigger a eureka moment in someone else :)

Cheers,

Peter

Reply via email to