I’ve got a new requirement from a client. We need to collect financial information via our form and the ask is for it to be encrypted before it is saved to the DB. I plan on using middleware for the encryption and I think that will be pretty straightforward.
What I’m not sure how to handle… how do we decrypt the value so that it displays to the user if they come back to edit their data? I assumed I could use middleware for this as well, but I’m not clear on which action I would hook into to make sure its decrypted at the right time. My concern being that if I hook into the wrong action, the value will be decrypted and then saved in that state.
Can someone point me in the right direction?
Thanks and, once again, awesome framework you guys have here! We’ve been able to do some really cool stuff with it.