[ 
https://issues.apache.org/jira/browse/PDFBOX-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14188806#comment-14188806
 ] 

Tilman Hausherr commented on PDFBOX-2456:
-----------------------------------------

For a start, I committed a small excerpt of your work so that we have at least 
a test for 40 and 128, which will secure the things that already work. I have 
simplified a lot (you had some speed optimizations that just make the code 
longer, it doesn't matter if the test takes 1 or 2 seconds, it is more 
important to keep it short and simple).

todo:
- the inner stuff
- permissions
- 256 bit


> create TestSymmetricKeyEncryption.java
> --------------------------------------
>
>                 Key: PDFBOX-2456
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2456
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 2.0.0
>         Environment: java7 debian7
>            Reporter: Ralf Hauser
>             Fix For: 2.0.0
>
>         Attachments: TestSymmetricKeyEncryption.java, 
> TestSymmetricKeyEncryption.java, enc128bit_20141025_115145.pdf, 
> enc256bit_20141025_105451.pdf, preEnc_20141025_105451.pdf, 
> preEnc_20141025_115145.pdf
>
>
> similarly to org.apache.pdfbox.encryption.TestPublicKeyEncryption, also test 
> password based encryption 
> 1) 128bit
> 2) 256bit AES PDFBOX-1594



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to