I am quite familiar with MQTT protocol and MQTT feature in home assistant, MQTT stateStream, etc. I use this feature to transfer the data received by my Xiaomi sensors to my application. I should mention that the data is transferred over the internet in the outside world. (The MQTT broker is NOT in my local network). Therefore I need high security.
As far as security is concerned, I have username and password for my MQTT. However, I want more strict security such as data encryption, etc. How can I go about doing this?