cloak v0.2.0
Cloak.EncryptedFloatField
An Ecto.Type
to encrypt a float field.
Usage
You should create the field with type :binary
. Values will be converted back to floats on decryption.
schema "table" do
field :field_name, Cloak.EncryptedFloatField
end