javax.crypto.IllegalBlockSizeException

Input length must be multiple of 16 when decrypting with padded cipher

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web235

  • via JDK Bug System by Webbug Group, 1 year ago
    Input length must be multiple of 16 when decrypting with padded cipher
  • via Oracle Community by 843811, 1 year ago
    Input length must be multiple of 16 when decrypting with padded cipher
  • Input length must be multiple of 16 when decrypting with padded cipher
  • Stack trace

    • 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 month ago
    Once, 6 months ago
    4 times, 7 months ago
    3 times, 8 months ago
    4 times, 10 months ago
    3 more bugmates