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