Store and Encrypt Contact Form 7 Submissions in Database? [closed]

As @kero said, use a CF7 hook. I’d use the wpcf7_before_send_mail hook. Grab data from the CF7 form object’s fields, and use those values to store data.

I wrote a post to myself on how to get data from the CF7 form object here: http://securitydawg.com/changing-contact-form-7-with-the-wpcf7_before_send_mail-hook/ . You could use that to get started, just insert your code/function that reads the fields from the CF7 object and then store that data.

Good luck!