cloak v0.7.0-alpha.1 Cloak.Fields.IntegerList View Source
An Ecto.Type
to encrypt a list of integers.
Configuration
You can customize the json library used for for converting the lists.
config :my_app, MyApp.Vault,
json_library: Jason
Usage
defmodule MyApp.Encrypted.IntegerList do
use Cloak.Fields.IntegerList, vault: MyApp.Vault
end