Fields.Hash (fields v2.8.0)
An Ecto Type for hashed fields.
Hashed using sha256. See Fields.Helpers
for hashing details.
Example
schema "messages" do
field(:digest, Fields.Hash)
end
Link to this section Summary
Link to this section Functions
Link to this function
cast(value)
Link to this function
dump(value)
Link to this function
embed_as(_)
Link to this function
equal?(term1, term2)
Link to this function
load(value)
Link to this function