Created
February 13, 2017 22:40
-
-
Save papodaca/d140f5d52469d17114334636805c3ddb to your computer and use it in GitHub Desktop.
Utility scripts to lock and unlock files on disk
This file contains 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
#!/bin/bash | |
openssl aes-256-ecb -salt -in $1 -out $1.tmp | |
mv $1.tmp $1 |
This file contains 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
#!/bin/bash | |
openssl aes-256-ecb -d -salt -in $1 -out $1.tmp | |
mv $1.tmp $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment