Skip to content

Instantly share code, notes, and snippets.

@skvggor
Last active January 22, 2020 17:35
Show Gist options
  • Save skvggor/8186558 to your computer and use it in GitHub Desktop.
Save skvggor/8186558 to your computer and use it in GitHub Desktop.
encrypt-decrypt
encrypt:
tar cj FOLDER_OR_FILE | openssl enc -aes-256-cbc -e > FILE.tar.bz2.e
decrypt:
openssl aes-256-cbc -d -in FILE.tar.bz2.e -out FILE_DECRYPTED.tar.bz2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment