-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hashed, searchable columns #4
Comments
Nevermind, found it in the docs after thinking to search for "hash" ;) https://hexdocs.pm/cloak_ecto/Cloak.Ecto.PBKDF2.html#module-usage Thank you! |
Hi, I have maybe a stupid question but is it possible to search with like or like by hashed fields? |
@sveredyuk as far as I know, the hash is only useful for an exact equality lookup. a string like |
I have the same suspicion. Correct, true ? only exact full string match would work? |
Definitely. Using |
I also came here looking for a way to search with A possible solution if there are not many records is to load the content in memory so that it's decrypted and then search with Elixir. |
I cannot find any documentation on how to make make hashed, searchable columns to go along with my encrypted column. Any help would be appreciated, thanks for the sweet lib!
The text was updated successfully, but these errors were encountered: