Skip to content

Instantly share code, notes, and snippets.

View ccostel's full-sized avatar

Constantin Colac ccostel

  • Berlin, Germany
View GitHub Profile
@ccostel
ccostel / encrypt_openssl.md
Created June 29, 2018 14:49 — 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: