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

    • Type: Task
    • Status: Closed
    • Priority: Critical
    • Resolution: Invalid
    • Affects Version/s: 2.0.22
    • Fix Version/s: None
    • Component/s: Parsing
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: