Skip to content

Instantly share code, notes, and snippets.

View cocoa1231's full-sized avatar

Cocoa cocoa1231

View GitHub Profile
@cocoa1231
cocoa1231 / encrypt_openssl.md
Created September 7, 2018 13:20 — 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: