# AESCrypt

Read and write files in [AES Crypt format](

## Usage

iex(1)> AESCrypt.write("example.aes", "Hello, world!", "supersecret")
iex(2)>"example.aes", "supersecret")
{:ok, "Hello, world!", [{"CREATED_BY", "Elixir AESCrypt v0.1.0"}]}
iex(3)>!("example.aes", "supersecret")
"Hello, world!"

## Limitations

* Supports v2 format only
* Decrypts/encrypts entire contents in memory; no streaming
* No attempts are made to protect keying material: the passphrase, derived key,
  file-specific key and plaintext may leak in stack traces, crashdumps, or
  BEAM introspection functions

## Installation

The package can be installed by adding `aes_crypt` to your list of dependencies
in `mix.exs`:

def deps do
    {:aes_crypt, "~> 0.1.0"}

Documentation can be found at [](