View Source Fernet.Ecto.Map (fernet-ecto v2.0.0-rc.0)
An Ecto type for Fernet-encrypted maps.
Summary
Functions
Only accept map values.
Encrypt a map to store in the database.
Callback implementation for Ecto.Type.embed_as/1
.
Callback implementation for Ecto.Type.equal?/2
.
Decrypt a map loaded from the database.
Fernet-encrypted data is stored as a binary in the database.
Functions
Only accept map values.
Encrypt a map to store in the database.
Callback implementation for Ecto.Type.embed_as/1
.
Callback implementation for Ecto.Type.equal?/2
.
Decrypt a map loaded from the database.
Fernet-encrypted data is stored as a binary in the database.