Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # From Linux Mag N.255 - article from Frederic Leroy
- ##
- # Using zip/unzip (7zip recommended by CNIL)
- # encrypt
- zip -e archive.zip file.txt file-2.txt
- # decrypt
- unzip -e archive.zip
- ##
- # Using gpg2
- # encrypt
- gpg2 --symmetric file.txt
- # decrypt
- gpg2 file.gpg
- ##
- # Using openssl
- # encrypt
- openssl enc -aes-256-cbc -in file.txt -out file.crypted
- # decrypt
- openssl enc -d -aes-256-cbc -in file.crypted -out file.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement