Skip to content

Instantly share code, notes, and snippets.

View JewelPengin's full-sized avatar

Jonathan Larson JewelPengin

  • Minneapolis, MN
View GitHub Profile
@dreikanter
dreikanter / encrypt_openssl.md
Last active June 20, 2024 10:15 — forked from crazybyte/encrypt_openssl.txt
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: