> 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.
> 
> Any suggestion is welcome. thanks.


On unix, you can start with this:

  openssl enc -aes-256-cbc -salt -in <infilename> -out <outfilename>

- B



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to