Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Notes / Openssl - encrypt file.

Openssl - encrypt file.

Openssl - encrypt file.
gzip testfile | openssl enc -aes-256-cbc -a -salt > /tmp/test.gz.ssl
openssl enc -d -aes-256-cbc -a -in /tmp/test.gz.ssl | gunzip