Skip to content

Instantly share code, notes, and snippets.

View miuirussia's full-sized avatar
☺️
Working

Kirill Kuznetsov miuirussia

☺️
Working
View GitHub Profile
@miuirussia
miuirussia / encrypt_openssl.md
Created May 11, 2022 12:51 — 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: