F
Filament13mo ago
Fally

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
awsqed
awsqed13mo ago
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.
Fally
FallyOP13mo ago
I will give it a shot. Thank you!
Mark Chaney
Mark Chaney10mo ago
Did you get this working? Cant do unique() when encrypted as well :/
Want results from more Discord servers?
Add your server