You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Datta (Jira)" <ji...@apache.org> on 2021/01/29 06:00:17 UTC

[jira] [Created] (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

Datta created PDFBOX-5092:
-----------------------------

             Summary: 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
                 Key: PDFBOX-5092
                 URL: https://issues.apache.org/jira/browse/PDFBOX-5092
             Project: PDFBox
          Issue Type: Task
          Components: Parsing
    Affects Versions: 2.0.22
            Reporter: Datta
             Fix For: 2.0.22


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?

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org