Home page logo
/

fulldisclosure logo Full Disclosure mailing list archives

Re: Q: Linux Command Line Encryption
From: Mike Tancsa <mike () sentex net>
Date: Fri, 22 Oct 2004 13:46:08 -0400

At 01:48 PM 22/10/2004, Ali Campbell wrote:
I need a Linux utility which I can use to encrypt a single gzipped file via the command line. Obviously something open source would be preferable. I'm not really interested in setting up a whole suite of stuff with keyfiles and so on, and I don't need a public/private key setup, just something quick and dirty with a single secret key for encryption and decryption which is nevertheless reasonably strong.

Whats wrong with openssl ?

openssl des3 -in test.txt -out test.txt.enc

or

openssl aes-256-cbc -in test.txt -out test.txt.enc

This is only as strong as your passphrase. Using something like GPG has other advantages since the private key can be kept in a separate location from the encrypted file.


---Mike
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault