org.bouncycastle.crypto.DataLengthException
843810May 8 2002 — edited Jan 28 2003I 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