Can the flight controller encrypt the MAVLINK protocol?

Most of us use the digital transmission itself without the air data encryption function, that is to say, as long as others use the same type of digital transmission, they can receive my flight data and even operate maliciously. When I was flying, my friend “kindly” turned off the motor for me:) So is it possible to set a KEY in the flight control and ground station, so that the air data is not so easy to be read by others.
or two KEYs. One is used to share flight data, but cannot write to the aircraft, the other can read and write data

No, that is currently not possible and not planned. Buy modems with data encription capability.
They get the job done at the right place, the link.

2 Likes