Skip to content

Instantly share code, notes, and snippets.

@abel0b
Created January 15, 2020 20:05
Show Gist options
  • Save abel0b/9af570827102ecead63e66162566fad5 to your computer and use it in GitHub Desktop.
Save abel0b/9af570827102ecead63e66162566fad5 to your computer and use it in GitHub Desktop.
File encryption on linux

With openssl

Encryption

openssl aes-256-cbc -in attack-plan.txt -out message.enc

Decryption:

openssl aes-256-cbc -d -in message.enc -out plain-text.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment