Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-5092

Used PDFbox for document download but for encryption it is currently pointing to MD5. I want to avoid using of MD5 and use only AES. Can you suggest what changes I need to follow to achieve the AES encryption

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Critical
    • Resolution: Invalid
    • 2.0.22
    • None
    • Parsing

    Description

      Used PDFbox for document download but for encryption it is currently pointing to MD5. I want to avoid using of MD5 and use only AES. Can you suggest what changes I need to follow to achieve the AES encryption

       

      java.security.MessageDigest.getInstance(MessageDigest.java:192)
      org.apache.pdfbox.pdmodel.encryption.MessageDigests.getMD5(MessageDigests.java:39)
      org.apache.pdfbox.pdmodel.encryption.StandardSecurityHandler.prepareEncryptionDictRev2345(StandardSecurityHandler.java:500)
      org.apache.pdfbox.pdmodel.encryption.StandardSecurityHandler.prepareDocumentForEncryption(StandardSecurityHandler.java:394)

      can you provide information on this package on how to implement AES encryption?

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            cooldudedatta@gmail.com Datta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: