Im not sure what you mean but there is something I looked at some time ago when sending data from a Banano app, then encrypt it and it's sent encrypted over the network and when it's received with mysql php is decrypted.
Yes whilst you can have https, and although this is not hacker or foolproof, it was a way to encrypt with aes and decrypt data both ways from Banano using Javascript and a php based encryption class.
The data is received by php, decrypted and then written to the database. I guess if you want to store it in encrypted format you can keep it like that. Is that what you mean?