an elixir encryption engine
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
lib
test
.formatter.exs
.gitignore
LICENSE.md
README.md
encrypt
mix.exs
mix.lock

README.md

Encrypt

A command line encryption engine.

Installation

mix escript.install hex encrypt

Usage

  1. Generate a secret:
~/.mix/escripts/encrypt --action generate_secret
  1. Save your secret
  2. Encrypt a file:
~/.mix/escripts/encrypt --file ./top_secret.txt --action encrypt --key $ENCRYPTION_SECRET
  1. Decrypt a file
~/.mix/escripts/encrypt --file ./top_secret.txt --action decrypt --key $ENCRYPTION_SECRET