这条信息是
attempt to process message to long for cipher
完整的调用堆栈是
Org.BouncyCastle.Crypto.DataLengthException was unhandled by user code
HResult=-2146233088
Message=attempt to process message to long for cipher
Source=BouncyCastle.Crypto
StackTrace:
at Org.BouncyCastle.Crypto.BufferedAsymm
我正在做一个项目,我需要在RMI网络上显示一些加密解密。我使用RSA系统来做这件事。在解密时,我的代码显示以下错误:
javax.crypto.BadPaddingException: Message is larger than modulus
at sun.security.rsa.RSACore.parseMsg(RSACore.java:182)
at sun.security.rsa.RSACore.crypt(RSACore.java:112)
at sun.security.rsa.RSACore.rsa(RSACore.java:103)
at