danielberkompas / cloak

Elixir encryption library designed for Ecto
MIT License
582 stars 55 forks source link

Add `prepare_changes` example to module doc for use with ecto 2.0 #27

Closed kgautreaux closed 7 years ago

kgautreaux commented 7 years ago

A similar strategy worked for me in querying a hashed field for identifying users by email address while keeping email addresses encrypted. I'm happy to make changes if this isn't idiomatic.