javax.crypto.BadPaddingException: pad block corrupted

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

javax.crypto.BadPaddingException: pad block corrupted
at org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher$BufferedGenericBlockCipher.doFinal(Unknown Source)
at javax.crypto.Cipher.doFinal(Cipher.java:2377)
at i2p.bote.crypto.AbstractCryptoImplementation.decryptAes(AbstractCryptoImplementation.java:97)
at i2p.bote.crypto.ECDH_ECDSA.decrypt(ECDH_ECDSA.java:353)
at i2p.bote.packet.dht.EncryptedEmailPacket.decrypt(EncryptedEmailPacket.java:164)
at i2p.bote.network.CheckEmailTask$EmailPacketTask.run(CheckEmailTask.java:216)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Know the solutions? Share your knowledge to help other developers to debug faster.