A command line encryption engine.
mix escript.install hex encrypt
- Generate a secret:
~/.mix/escripts/encrypt --action generate_secret
- Save your secret
- Encrypt a file:
~/.mix/escripts/encrypt --file ./top_secret.txt --action encrypt --key $ENCRYPTION_SECRET
- Decrypt a file
~/.mix/escripts/encrypt --file ./top_secret.txt --action decrypt --key $ENCRYPTION_SECRET