com.liferay.util.EncryptorException: com.liferay.util.EncryptorException: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher

liferay.com | 7 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

    RE: Re:Unable to impersonate because the string cannot be decrypted - Community Forums | Liferay

    liferay.com | 7 months ago
    com.liferay.util.EncryptorException: com.liferay.util.EncryptorException: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher

    Root Cause Analysis

    1. javax.crypto.IllegalBlockSizeException

      Input length must be multiple of 8 when decrypting with padded cipher at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..) at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..) at com.sun.crypto.provider.DESCipher.engineDoFinal(DashoA13*..) at javax.crypto.Cipher.doFinal(DashoA13*..)

      at com.liferay.util.Encryptor.decryptUnencodedAsBytes()
    2. Liferay Util Java
      Encryptor.decryptUnencodedAsBytes
      1. com.liferay.util.Encryptor.decryptUnencodedAsBytes(Encryptor.java:130)
      1 frame