Re: simple utility to encrypt text files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sting sting wrote:

Hello,
I am looking for a simple utility (which can be run from a command line) for
encrypting text files (using a password) on RedHat linux.
Something which may crypt/decrypt text files like the crypt
command on Sun stations.

openssl is youe friend. In particular, "openssl enc", see "man enc" for details. For example,


enc -rc4 -pass stdin -in xxx -out xxx.enc

and

enc -rc4 -pass stdin -d -in xxx.enc

Both expect you to to type in the passwordafter you hit return. The former encrypts the contents of xxx and sticks it in a file called xxx.enc, the latter decrypts xxx.enc and sends the result to stdout. There's a lot more to openssl than this. It also depends on how secure you want the encrypted data to be, but if you're happy with the secuity that crypt(1) offers under Solaris, then you probably don't need to worry about it. If you are worried, read Practical Cryptography first.

jch


-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux