In case there's no user password, a 32 byte pad is used. This pad is also used to fill the remaining bytes in case the password is shorter. Have a look at PdfEncryption.java.
Best Regards, Paulo Soares > -----Original Message----- > From: Leonard Rosenthol [SMTP:[EMAIL PROTECTED]] > Sent: Thursday, October 10, 2002 3:59 > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: [iText-questions] PDF Encryption > > At 9:43 AM +1000 10/10/02, <[EMAIL PROTECTED]> wrote: > > > That's because the file has a master password (which controls > >> access to the security settings) but not a user password (which > >> control access to the document). > > > > Are you saying the document Encrypt dictionary has not got a /U > >entry? > > I am saying that Acrobat opened the file up, and checking the > security on it showed that Acrobat did not consider there to be a > user password. > > > >If so, open the file in a text editor, search for object 970, > >which is the encrypt dictionary. You can see that /U entry is there as > >well as /O entry. > > That could be because the user password is a "default" that > is just there to provide an encryption key but isn't actually used. > > > Leonard > -- > -------------------------------------------------------------------------- > - > Leonard Rosenthol > <mailto:[EMAIL PROTECTED]> > Chief Technical Officer <http://www.pdfsages.com> > PDF Sages, Inc. 215-629-3700 (voice) > 215-629-0789 (fax) > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
