Sunday, September 11, 2011

Notes - How to create an encrypted tar

tar -zcvf -stuff | openssl des3 -salt -k secret_pass | dd of=stuff.des3

didn't try it, juts took it from old notes.

1 comment:

Anonymous said...

# tar -cf - directory | openssl aes-128-cbc -salt -out directory.tar.aes # Encrypt
# openssl aes-128-cbc -d -salt -in directory.tar.aes | tar -x -f - # Decrypt