Skip to content

Instantly share code, notes, and snippets.

View atbe's full-sized avatar
:shipit:
Shipping

Ibrahim Ahmed atbe

:shipit:
Shipping
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: