Skip to content

Instantly share code, notes, and snippets.

@vlado
Created January 28, 2019 11:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vlado/8ac767b1b173f5e80b8ef9b991ad7cf6 to your computer and use it in GitHub Desktop.
Save vlado/8ac767b1b173f5e80b8ef9b991ad7cf6 to your computer and use it in GitHub Desktop.
Encrypt/Decrypt file on macOs
# Encrypt
openssl aes-256-cbc -salt -in filename.ext -out filename.enc
# Decrypt
openssl aes-256-cbc -d -salt -in filename.enc -out filename.ext
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment