cloak v0.6.2 API Reference
Modules
A Cloak.Cipher
which encrypts values with the AES cipher in CTR (stream) mode.
Internally relies on Erlang’s :crypto.stream_encrypt/2
A Cloak.Cipher
which encrypts values with the AES cipher in GCM (block) mode.
Internally relies on Erlang’s :crypto.block_encrypt/4
A behaviour for encryption/decryption modules. Use it to write your own custom Cloak-compatible cipher modules
An Ecto.Type
to encrypt a binary field
An Ecto.Type
to encrypt a float field
An Ecto.Type
to encrypt integer fields
An Ecto.Type
to encrypt a list of integers
An Ecto.Type
to encrypt maps
An Ecto.Type
to encrypt NaiveDateTime
fields
An Ecto.Type
to encrypt a list of strings
An Ecto.Type
which hashes the field value using the SHA256 algorithm
Mix Tasks
Migrate all configured schemas to your new encryption configuration