Skip to content

Commit

Permalink
Merge 06e5753 into af32416
Browse files Browse the repository at this point in the history
  • Loading branch information
danielberkompas committed Jun 17, 2022
2 parents af32416 + 06e5753 commit 9a44768
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions guides/how_to/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Your schema module should look like this:

schema "users" do
field :email, MyApp.Encrypted.Binary
field :email_hash, Cloak.Ecto.SHA256
field :email_hash, MyApp.Hashed.HMAC
# ... other fields

timestamps()
Expand All @@ -129,8 +129,7 @@ Your schema module should look like this:
end

This example also shows how you would make a given field queryable by
creating a mirrored `_hash` field. See `Cloak.Ecto.SHA256` or
`Cloak.Ecto.HMAC` for more details.
creating a mirrored `_hash` field. See `Cloak.Ecto.HMAC` for more details.

## Usage

Expand Down

0 comments on commit 9a44768

Please sign in to comment.