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

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

     [ https://issues.apache.org/jira/browse/PDFBOX-5092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr updated PDFBOX-5092:
------------------------------------
    Fix Version/s:     (was: 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
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 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
>            Priority: Critical
>
> 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