Last active
December 20, 2015 20:39
-
-
Save nexxos/6192048 to your computer and use it in GitHub Desktop.
Decrypting/encrypting files via command line (Mac/Linux).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Command line crypting text files (Mac/Linux). | |
# Encrypting: | |
openssl aes-256-cbc -a -salt -in text_original.txt -out text_encrypted.txt | |
# Decrypting: | |
openssl aes-256-cbc -d -a -in text_encrypted.txt -out text_decrypted.txt | |
# ☠ ⚠ ⚡ I'm not a crypto-specialist, so use at your own discretion. | |
# Have any refinements or caveats? | |
# Feel free to comment below, I'm eager to learn. ☺ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment