> Message du 27/08/08 16:40 > De : "Bryan R Harris" > A : "Beginners Perl" > Copie à : > Objet : Re: encrypt a text file > > > > > > hello, > > > > how to encrypt a text file and decrypt it with perl? > > > > for example, I have a config file, > > > > svr.conf > > > > I want to encrypt it to svr.conf.encrypt. > > > > But I should also have the ability to decrypt the encryped one to the > > original text. > >
I think Crypt::Lite is suitable for you, it can encrypt and decrypt a text, having a password for protection. The encrypt ways include Base64 and hex8. http://search.cpan.org/~retoh/Crypt-Lite-0.82.11/lib/Crypt/Lite.pm Regards, Jeff. Créez votre adresse électronique [EMAIL PROTECTED] 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.