API Reference Erebus v0.2.0-rc.2

Modules

This is the entry point for the Erebus library. Here you will find operations for both encrypting and decrypting fields in the database.

This module stores data necessary for decrypting an encrypted struct. It stores

This module is a proxy for a key backend

This is a dummy implementation of the KEK backend. Never use it in production! It doesn't take any options.

This KMS backend uses Google KMS to encrypt/decrypt DEKs. It requires a 2048 bit RSA key with OAEP Padding and SHA256 Digest.

The Erebus.KMS.Local KMS backend uses a locally stored public/private key pair to encrypt/ decrypt DEKs. It requires 2048 bit RSA keys with OAEP Padding and SHA256 Digest.

This module serves as cache storage using ETS for private keys.

This module serves as cache storage using ETS for public keys.

This module provides macros for defining fields on your Ecto model.

This module serves as cache storage using ETS for decrypted DEKs.