Skip to Main Content

Java Security

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:Data must not be longer than117bytes

843811Sep 24 2007 — edited Sep 28 2007
Hi All,

I am facing problem during this exception. I hope many people go through this stage. Can any body give me the solution.

my code is cipher based rsa encryption 1024 key size.


Encrypt Exception: javax.crypto.IllegalBlockSizeException: Data must not be longer than 117 bytes
javax.crypto.IllegalBlockSizeException: Data must not be longer than 117 bytes

If there is any other way which encrypt first data that length is must be less than 117 byte then plz guide me.

Thanks
Amit
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 26 2007
Added on Sep 24 2007
10 comments
633 views