laravel / blog-contest-may-mayhem

242 stars 16 forks source link

Encrypting your Model Attributes #84

Open bvipul opened 6 years ago

bvipul commented 6 years ago

https://codeburst.io/encrypting-your-model-attributes-2116bf623d10

shirshak55 commented 6 years ago

Hi nice package. But If our key gets lost will all data gets lost ?

bvipul commented 6 years ago

Yes, I am afraid, that would be the case.

koenhoeijmakers commented 6 years ago

Would be nice if you could tell the trait which attributes to encrypt :)

bvipul commented 6 years ago

Yes, currently I am trying to encrypt the fillables, but I am thinking to change that to a model variable. Thanks for suggestion, and I also need to encrypt the binding in builder while querying...will do these in the next build