javax.crypto.BadPaddingException: Given final block not properly padded at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..) at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..) at com.sun.crypto.provider.AESCipher.engineDoFinal(DashoA13*..) at javax.crypto.Cipher.doFinal(DashoA13*..)

Oracle Community | 900846 | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Getting user passwords migrated from OIM 10g to OIM 11gR2

    Oracle Community | 3 years ago | 900846
    javax.crypto.BadPaddingException: Given final block not properly padded at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..) at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..) at com.sun.crypto.provider.AESCipher.engineDoFinal(DashoA13*..) at javax.crypto.Cipher.doFinal(DashoA13*..)

    Root Cause Analysis

    1. javax.crypto.BadPaddingException

      Given final block not properly padded at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..) at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..) at com.sun.crypto.provider.AESCipher.engineDoFinal(DashoA13*..) at javax.crypto.Cipher.doFinal(DashoA13*..)

      at com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.decrypt()
    2. com.thortech.xl
      tcCryptoUtil.decrypt
      1. com.thortech.xl.crypto.tcDefaultDBEncryptionImpl.decrypt(Unknown Source)
      2. com.thortech.xl.crypto.tcCryptoUtil.decrypt(Unknown Source)
      3. com.thortech.xl.crypto.tcCryptoUtil.decrypt(Unknown Source)
      3 frames
    3. Unknown
      DecryptPassword.main
      1. DecryptPassword.main(DecryptPassword.java:21)
      1 frame