Hi:
I am encrypting PDF files and when I try to open the file in Acrobat
reader, it prompts for the password. The password is authenticated but
then I get this error message "An unrecognized token 'blahblahblah..'
was found". When I say OK, I get another error message "There were
several parsing errors on this page". When I click OK again, the file
is opened but with a blank page..
I want to know what exactly is going wrong? Since the password is
authenticated, I dont think there is any problem in my implementation
of the encryption. Is there any special care to be taken before
encrypting stream data and writing it to the file like handling
escapes?
Also, I have specified /Length as 40 which is 5 bytes.. But Actually I
will be encrypting the stream with a 10 byte key. This is because of
the additional 5 bytes from Object number and generation number of the
stream. Is this correct?
Thanks,
Prasad.
|
|
0
|
|
|
|
Reply
|
pranags
|
8/13/2003 12:34:54 AM |
|
hi,
i also experimented a little bit with encryption...
i wasnt successful - so i use an external tool for
encryption/decryption now (from pdfeverywhere)
this works fine in its newest version...
but im sure your error messages are problems by encoding the contents object(s)
(little question beside - which language u are using for your tool ?)
best regards
Thomas
|
|
0
|
|
|
|
Reply
|
sctommi
|
8/13/2003 8:41:01 AM
|
|
Hi:
I am using C++ for my tool... Also I am not using any encoding filters
for my stream. It is just the encryption that is causing the problem..
Any suggestions or as ample plain and encrypted data for some
passwords is appreciated!!
Thanks,
Prasad.
sctommi@gmx.net (Thomas) wrote in message news:<5a1109df.0308130041.ee191a3@posting.google.com>...
> hi,
> i also experimented a little bit with encryption...
> i wasnt successful - so i use an external tool for
> encryption/decryption now (from pdfeverywhere)
> this works fine in its newest version...
> but im sure your error messages are problems by encoding the contents object(s)
> (little question beside - which language u are using for your tool ?)
>
> best regards
> Thomas
|
|
0
|
|
|
|
Reply
|
pranags
|
8/13/2003 4:33:37 PM
|
|
pranags@yahoo.com (Pranags) wrote in message news:<f5bc7a11.0308130833.4300c2ac@posting.google.com>...
> Hi:
>
> I am using C++ for my tool... Also I am not using any encoding filters
> for my stream. It is just the encryption that is causing the problem..
> Any suggestions or as ample plain and encrypted data for some
> passwords is appreciated!!
>
> Thanks,
> Prasad.
>
ready to email ;) wait a second...
best regards
Thomas
|
|
0
|
|
|
|
Reply
|
sctommi
|
8/14/2003 8:34:28 AM
|
|