cloak v0.7.0-alpha.1 Cloak View Source

Cloak makes it easy to encrypt and decrypt database fields using Ecto. It consists of four components:

  • Cloak.Cipher - ciphers encrypt and decrypt data using a particular encryption algorithm.

  • Cloak.Vault - vaults configure and use ciphers. Applications can have multiple vaults.

  • Ecto.Types - custom Ecto types that make it easy to use your vault to encrypt/decrypt your fields.

  • Mix.Tasks.Cloak.Migrate - a task that will great simplify the process when you need to rotate your keys.

Guides

In addition to the API reference and module documentation, Cloak provides the following guides:

How To

Upgrading