Where is encodedStr coming from? Are you using Cryptomapper?
Please give us a stacktrace. Sven On 11/11/2012 02:13 AM, Alec Swan wrote:
Hello, After we migrated from 1.4.x to 1.5.x my CachingSunJceCryptFactory.newCrypt().decryptUrlSafe(encodedStr) started returning null. In 1.4.x the same encodedStr parameter was decrypted without problems. We did not change the Java version and are still on 1.6.20. I debugged into AbstractCrypt#decryptSafeUrl(..) and found out that inside of it decryptByteArray(..) call is now throwing the following exception: "javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher" How can we fix this? Thanks, Alec --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
