javax.crypto.IllegalBlockSizeException: Data must not be longer than 1013 bytes
Searched on Google with the first line of a JAVA stack trace?
We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.
Recommended solutions based on your search
Solutions on the web
via Stack Overflow by tmf1234
, 1 year agovia Stack Overflow by Rajat Nigam
, 2 years agovia Stack Overflow by Intektor
, 7 months agovia Stack Overflow by Flanker
, 1 year agovia Stack Overflow by user8783104
, 4 months agovia Stack Overflow by Unknown author, 2 years ago
javax.crypto.IllegalBlockSizeException: Data must not be longer than 1013 bytes
at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:344)
at com.sun.crypto.provider.RSACipher.engineDoFinal(RSACipher.java:389)
at javax.crypto.Cipher.doFinal(Cipher.java:2165)
at main.main(main.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)