My head hurts. I am trying to build a Perl script to decrypt/encrypt some information. 
I have some test information for the project.

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.

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.)

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 ;~{

TIA

--
-------------------------------------------------------------------------
"They that can give up essential liberty 
   to obtain a little temporary safety 
   deserve neither liberty  nor safety."                      

-- Benjamin Franklin 
-------------------------------------------------------------------------
RRRRR                Gary Luther
RR  RR               SAF
RR  RR UTABEGAS      2500 Broadway
RR RR                Helena, MT 59602
RRRR                 [EMAIL PROTECTED]
RR RR  ULE !!        
RR  RR               Visit our website at
RR   RR              http://www.safmt.org


BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:Gary Luther
TEL;WORK:0631
ORG:;Computer Center
TEL;PREF;FAX:(406) 444-0684
EMAIL;WORK;PREF;NGW:[EMAIL PROTECTED]
N:Luther;Gary
TITLE:Systems Administrator
END:VCARD


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to