how to encrypt data on 10.10

Asked by Phil Norisez on 2011-03-20

Want a pgp-based command line or gnome utility to encrypt/decrypt a single file's contents. Would like a solution that also has a Windows version. Something similar to the unix crypt command would be acceptable.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu openssl Edit question
Assignee:
No assignee Edit question
Solved by:
Phil Norisez
Solved:
2011-03-20
Last query:
2011-03-20
Last reply:
2011-03-20
mycae (mycae) said : #1

cat unencrypted-file | openssl ALGORITHM > encrypted-file.enc
cat encrypted-file.enc | openssl -d ALGORITHM > unencrypted-file

A list of algorithms can be obtained by typing openssl.

Phil Norisez (norisezp) said : #2

openssl does not like the -d option

Phil Norisez (norisezp) said : #3

Correction: had to put ALGORITHM before -d
cat file.enc | openssl ALGORITHM -d >file