Skip to content

Instantly share code, notes, and snippets.

View Justin417's full-sized avatar

Justin Goetz Justin417

View GitHub Profile
@dreikanter
dreikanter / encrypt_openssl.md
Last active May 23, 2025 13:12 — 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: