Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

javax.crypto.IllegalBlockSizeException: Input length must be multiple of..

866871Jun 6 2011 — edited Jun 7 2011
hi guys
i encrypted a string and then converted it from byte[] to string and put it in db
now i wanna encrypt it and i get this error
javax.crypto.IllegalBlockSizeException: Input length must be multiple of 16 when decrypting with padded cipher

thanks in advance for your help :)
This post has been answered by 796440 on Jun 6 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 5 2011
Added on Jun 6 2011
18 comments
5,515 views