The invention provides a vehicle-mounted antenna and a
set top box communication
encryption method, belongs to the communication
encryption technology field and solves a problem that communication between a vehicle-mounted
set top box and the vehicle-mounted antenna can be easily copied and monitored. The method comprises steps that A, a same set of
plain text segments is commonly taken by the antenna and the
set top box as a fixed code on the basis of mutual agreement; B, a random code containing a self ID number is sent and read by the set top box to the vehicle-mounted antenna, the random code and the fixed code are received by the vehicle-mounted antenna and are combined to form a corresponding
plain text, a query code is calculated, and the query code acquired through calculation is returned to the set top box; C, according to the random code and the fixed code, the set top box carries out calculation and combination in the same mode to form a corresponding
plain text, and a check code is calculated; and D, the query code is compared with the check code, if the two are completely identical, the set top box is activated and starts normal operation, if not, waiting continues. Through high-intensity
encryption behaviors of the set top box and the antenna, communication can not be copied or monitored, and the set top box can be effectively prevented from being illegally used for other purposes.