cloak v0.6.2 Cloak.EncryptedDateField View Source
An Ecto.Type
to encrypt Date
fields.
Usage
You should create the field with the type :binary
.
Values will be converted back to Date
s on decryption.
schema "table" do
field :field_name, Cloak.EncryptedDateField
end