javax.crypto.BadPaddingException: Not PKCS#1 block type 2 or Zero padding

hivmr.com | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    RSA padding problem | Oracle Community

    oracle.com | 1 year ago
    javax.crypto.BadPaddingException: Not PKCS#1 block type 2 or Zero padding
  2. 0

    RSA problem | Oracle Community

    oracle.com | 1 year ago
    javax.crypto.BadPaddingException: Not PKCS#1 block type 2 or Zero padding
  3. 0

    RSA padding problem

    Oracle Community | 1 decade ago | 843811
    javax.crypto.BadPaddingException: Not PKCS#1 block type 2 or Zero padding
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RSA problem

    Oracle Community | 1 decade ago | 843810
    javax.crypto.BadPaddingException: Not PKCS#1 block type 2 or Zero padding
  6. 0

    db:: 4.20::PrivateKey Unknown key spec sm

    hivmr.com | 9 months ago
    javax.crypto.BadPaddingException: Not PKCS#1 block type 2 or Zero padding

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.crypto.BadPaddingException

      Not PKCS#1 block type 2 or Zero padding

      at com.ibm.crypto.provider.RSA.engineDoFinal()
    2. com.ibm.crypto
      RSA.engineDoFinal
      1. com.ibm.crypto.provider.RSA.engineDoFinal(Unknown Source)
      1 frame
    3. Android Platform
      Cipher.doFinal
      1. javax.crypto.Cipher.doFinal(Unknown Source)
      1 frame
    4. Unknown
      encryptdataClient_.main
      1. encryptdata_.readkey(encryptdata_.java:98)
      2. encryptdataClient_.main(encryptdataClient_.java:19)
      2 frames