javax.crypto.IllegalBlockSizeException: Input length must be multiple of 16 when decrypting with padded cipher

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 hkguile
, 1 year ago
Input length must be multiple of 16 when decrypting with padded cipher
via Stack Overflow by wondergoat77
, 1 year ago
Input length must be multiple of 16 when decrypting with padded cipher
via Stack Overflow by Lalit Verma
, 7 months ago
Input length must be multiple of 16 when decrypting with padded cipher
via Stack Overflow by StackHogger
, 1 year ago
Input length must be multiple of 16 when decrypting with padded cipher
via Stack Overflow by s.gang
, 1 year ago
Input length must be multiple of 16 when decrypting with padded cipher
via Stack Overflow by Unknown author, 2 years ago
Input length must be multiple of 16 when decrypting with padded cipher
javax.crypto.IllegalBlockSizeException: Input length must be multiple of 16 when decrypting with padded cipher
at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:750)
at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:676)
at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:313)
at javax.crypto.Cipher.doFinal(Cipher.java:2087)

Users with the same issue

Once, 1 year ago
4 times, 1 year ago
3 times, 1 year ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 20 hours ago

Write tip

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