PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com
_____________________________________________________________

Hi Gordon,

I would certainly use the hex representation for encrypted strings, as
they are not human readable anyway.  You could also encode special
characters such as the '(' and ')' by either escaping them with '\' or
by using the \000 octal encoding syntax, but that seems like an
excessive amount of logic..

Jon Anderson
Bengt Computer Graphics LLC
http://www.bengtcg.com


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gordon Campbell
Sent: Tuesday, December 30, 2003 10:29 AM
To: [EMAIL PROTECTED]
Subject: [PDFdev] Encrypting Strings



PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com
_____________________________________________________________

Hello,

I've come across an issue that I hope someone can help me resolve ...

Basically I encrypt a string and then I'm outputting the binary
encrypted
string.  But the binary happens to contain a "(" or a ")" character.
ANd I
believe that this may be causing my issue.  For example, I output a
title
element

/Title ( .. bunch of encrypted bytes but includes a ) or a (.. )

With the () it assumes the string is closed before it actually should
be.
Should I be outputting the hex equivalents (using < and >) instead?  Or
is
there another method for this?

Oh, and a big thanks to Jon Anderson who helped me out with my other
encryption issues.

Thanks,
Gordon



To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfdev.html



To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfdev.html

Reply via email to