Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
function to check for AES-encryption |
Post Reply |
Author | |
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
Posted: 02 Jul 07 at 7:13AM |
Hi!
I want to wrote a function which detects if a document is aes-encrypted. I've found few pieces of circumstantial evidence: I want to take the filestream searching for: ( "CFM/V2" or "CFM/AESV2" or "CFM /V2" ) and ( /Length 128 ). What are the opinions here? Is this stable and save enough or will i miss many aes-documents? Best regards, Ingo |
|
chicks
Debenu Quick PDF Library Expert Joined: 29 Oct 05 Location: United States Status: Offline Points: 251 |
Post Options
Thanks(0)
|
Ingo,
Have a look at pdfinfo here: pdfinfo It's a first attempt to parse a PDF's dictionary objects. It will display the encryption type for the files I've tested it on, but probably won't work for all. Please test. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store