A simple node CLI for encrypting and decrypting files with a secret.
I needed an easy way to share a sensitive file.
- Clone Repo
git clone git@github.com:mweslander/cryptify.git - Change Directory
cd cryptify - Link
npm link
- Encrypt
cryptify sanity-check.txt SomethingSuperSecretNotLikeThis- Make sure it's jumbled
cat sanity-check.zip
- Make sure it's jumbled
- Decrypt
cryptify sanity-check.zip SomethingSuperSecretNotLikeThis decrypt- Make sure you don't get any diff output
diff sanity-check.txt sanity-checkDELETE.txt
- Make sure you don't get any diff output
As long as you and your buddy have cryptify installed, you could:
- Cryptify your sensitive file with a secret
- Send the encrypted zip file in an email
- Tell your secret to your buddy
- Bam. They have the sensitive file contents.