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!

org.bouncycastle.crypto.DataLengthException

843810May 8 2002 — edited Jan 28 2003
I catch this exception when I try to decrypt a text:

org.bouncycastle.crypto.DataLengthException: attempt to process message to long for cipher
at org.bouncycastle.crypto.BufferedAsymmetricBlockCipher.processBytes
at org.bouncycastle.jce.provider.JCERSACipher.engineDoFinal
at javax.crypto.Cipher.doFinal
at Class1.main

Is there any restriction to decrypt determinate size of bytes?

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 25 2003
Added on May 8 2002
3 comments
464 views