thanks that did it. i always forget to binmode things :( cheers
toby > -----Original Message----- > From: John W. Krahn [mailto:krahnj@;acm.org] > Sent: Wednesday, October 23, 2002 4:26 PM > To: [EMAIL PROTECTED] > Subject: Re: Crypt::CBC w/Crypt-DES > > > Toby Stuart wrote: > > > > Hi All, > > Hello, > > > I'm trying to encrypt/decrypt a text file using Crypt::CBC > with DES. > > > > The encryption works fine but the decryption seems to yield > > only the first few bytes of the original text. I'm sure > i'm missing > > something simple. > > > perldoc -f binmode > > > > John > -- > use Perl; > program > fulfillment > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]