Skip to content

Instantly share code, notes, and snippets.

View wonkpentink's full-sized avatar
🌴
On vacation

Eka Candra Setyobudi wonkpentink

🌴
On vacation
  • PT Sinar Mitra Sepadan Finance
  • Jakarta, Indonesia
View GitHub Profile
@wonkpentink
wonkpentink / encrypt_openssl.md
Created October 7, 2019 10:44 — 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: