java.security.InvalidKeyException

tip

Install Java Cryptopraphic Extention for your JDK version

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

  • Encrypt does not work
    via by Marison,
  • Encrypt does not work
    via by Marison,
  • Initialize Blowfish Key
    via by Unknown author,
    • java.security.InvalidKeyException: Illegal key size or default parameters at javax.crypto.Cipher.a(DashoA12275) at javax.crypto.Cipher.a(DashoA12275) at javax.crypto.Cipher.a(DashoA12275) at javax.crypto.Cipher.init(DashoA12275) at javax.crypto.Cipher.init(DashoA12275) at org.apache.pdfbox.pdmodel.encryption.PublicKeySecurityHandler.computeRecipientInfo(PublicKeySecurityHandler.java:401) at org.apache.pdfbox.pdmodel.encryption.PublicKeySecurityHandler.createDERForRecipient(PublicKeySecurityHandler.java:377) at org.apache.pdfbox.pdmodel.encryption.PublicKeySecurityHandler.prepareDocumentForEncryption(PublicKeySecurityHandler.java:291) at org.apache.pdfbox.pdfwriter.COSWriter.write(COSWriter.java:1002) at org.apache.pdfbox.pdmodel.PDDocument.save(PDDocument.java:893) at org.apache.pdfbox.pdmodel.PDDocument.save(PDDocument.java:874) at org.apache.pdfbox.Encrypt.encrypt(Encrypt.java:189) at org.apache.pdfbox.Encrypt.main(Encrypt.java:53)

    Users with the same issue

    Andreas Häber
    16 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    22 more bugmates