View previous topic :: View next topic |
Author |
Message |
raptor Apprentice
Joined: 20 Sep 2002 Posts: 171
|
Posted: Wed Nov 23, 2005 12:26 pm Post subject: crypting dir & files ? |
|
|
hi,
I want to crypt some files/dirs. I dont want make separate partitions to host them.
Just some simple command, something like :
crypt --pass=xxx /DIR dest-file.cry
or
crypt --pass=xxx files* dest-file.cry
later on :
uncrypt --pass=xxx dest-file.cr
? is there something like this ? |
|
Back to top |
|
|
nlindblad Guru
Joined: 30 Jun 2005 Posts: 476 Location: Lund, Sweden
|
|
Back to top |
|
|
heinlein n00b
Joined: 23 Nov 2005 Posts: 1
|
Posted: Wed Nov 23, 2005 6:49 pm Post subject: |
|
|
The openssl command can do that:
Code: | openssl enc -aes-256-cbc -salt -in file.txt -out file.txt.enc -pass pass:testpass |
The cipher options available to you are listed in the enc(1) man page; the format for specifying the password is explained PASS PHRASE ARGUMENTS section in the openssl(1) man page. |
|
Back to top |
|
|
|