How to properly search encrypted columns in table
I was wondering what the proper way to search encrypted data is in Filament. I have columns with some sensitive information that I cast as encrypted in the model. Of course, searchable() is added on the column but naturally, it won't find the value in the database. What is the best approach here? Is it even doable?
3 Replies
i have not tried this yet
https://github.com/spatie/laravel-ciphersweet
GitHub
GitHub - spatie/laravel-ciphersweet: Use Ciphersweet in your Larave...
Use Ciphersweet in your Laravel project. Contribute to spatie/laravel-ciphersweet development by creating an account on GitHub.
I will give it a shot. Thank you!
Did you get this working? Cant do unique() when encrypted as well :/