laravel-database-encryption
laravel-database-encryption copied to clipboard
Package for encrypting and decrypting eloquent model attributes for Laravel
Hi @elgibor-solution , I have multi tenancy database, i want to use different encryption keys for each tenant user. If a user or users falls in tenant 1 db. then...
## Insecure Key Management This is not a secure way to derive a secret. You're hashing data using SHA256, hex-encoded, then only extracting 16 hex characters. https://github.com/elgiborsolution/laravel-database-encryption/blob/8856e2eab1848709aec5d0de898e6001f250db1f/src/Providers/DBEncryptionServiceProvider.php#L84 https://github.com/elgiborsolution/laravel-database-encryption/blob/8856e2eab1848709aec5d0de898e6001f250db1f/src/Providers/DBEncryptionServiceProvider.php#L60 This gives...
How to change method, key, and edit the algorithm. I think I need to publish the package and do custom edit myself, but there are no publish resources for this...
Hello everyone, I've created a fork from this beautiful package. I've been using a lot, and I've been adding new features and fix some bugs that I've found. https://github.com/quevlu/laravel-database-encryption
I am try to update address following query but it's not update encrypt format. it's store original text Order::where('user_id',Auth::user()->id)->update(['Address1'=>'sample')
I encountered several issues while i tried to implement it on our laravel project: 1. only works on single table queries. 2. getAttribute doesn't work on alias column. 3. lack...
I am using artisan Tinker to run some queries and fetch data. But all results are encrypted. Can you please suggest how can I run queries in Tinker or SSH...
laravel 8.75 sometimes model return normal data but in some ways it might return just a "false" value for encrypted fields, that happens like 6 to 8 times out of...
It is not working using laravel join()