Friday, January 11, 2002, 9:27:46 PM, Gary Luther wrote: > Here is what I know about the data I need to decrypt:
> Algorithm - The block cipher DES is the standard cipher for all >encryption/decryption operations. > Padding - PKCS #5 padding is used. > Chaining - Cipher Block Chaining (CBC) is used for both key and data cipher >operations. > Encoding - All encrypted data is stored Base-64 encoded. > Keys are password based encrypted using DES-MD5 with CBC. All keys are Base-64 >encoded. > Keys used within the DES algorithm are 64-bit with and effective key length of >56-bits. > All data is symmetrically encrypted. Crypt::DES Crypt::CBC MIME::Base64 Digest::MD5 56-bit DES isn't very good... i'm assuming that you you're interfacing with an existing system rather than implementing something new. looks like you might have a bit more trouble with something to do PKCS#5 padding. from the Crypt::CBC docs: http://search.cpan.org/doc/LDS/Crypt-CBC-2.01/CBC.pm Future versions of the module may include PKCS5 / PKCS7 padding support, but right now my Bruce Schneier Applied Cryptography book is missing. information into an e-mail message, Web page or URL. so it sounds like you might be able to work something out > I am not sure at this point what Perl Modules will do this for me. I think I need >Crypt::DES as a starter. I am running on an AIX box. I have Perl 5.6.1 from the Bull >distribution installed. I > have tried several times to download the Crypt::DES module which CPAN says is >Crypt-DES-2.03.tar.gz. > When I download it (I have done this several times) and try to run gunzip I am told >the file is not in gzip format. I have been gunzip'ing other files with no problem. > So............I am looking for help and direction. > 1) What CPAN modules do I need in addition to Crypt::DES > to meet the requirements of the above? > 2) Where can I get a good copy of the modules (by the way > I am downloading to a Windows box and FTPing to the > RS/6000...the way I have always done it.) the stuff on CPAN should be good. i'd double-check that you're ftp-ing in binary mode... if that's not the problem you could try asking the author of the package if there's a known problem (something like Crypt::DES i imagine is used a *lot*) > Thanks to anyone who can get me back on track. I have > spent 2 days trying to unravel this and all that is > unravelled is my brain ;~{ i don't know if it'll be any use to you, but there's an interesting article here: http://www.perl.com/pub/a/2001/09/26/crypto1.htm -- Best Regards, Daniel [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]