Skip to content

Instantly share code, notes, and snippets.

@nicad
nicad / encrypt_openssl.md
Created May 27, 2019 17:21 — forked from dreikanter/encrypt_openssl.md
File encryption using OpenSSL

Symmetic encryption

For symmetic encryption, you can use the following:

To encrypt:

openssl aes-256-cbc -salt -a -e -in plaintext.txt -out encrypted.txt

To decrypt:

@nicad
nicad / gist:1683827
Created January 26, 2012 17:08
test
one
two
three