摘要 |
The present invention relates to the field of communications. Provided is a data encryption method for a set top box. The method comprises the following steps: 101, send a private key request message to a server, the message carrying a MAC address of a set top box; 102, receive private key information sent by the server to the set top box; 103, send a video request to the server, and receive video information encrypted using a public key and returned by the server; 104, the set top box decodes, by using a private key, the video information encrypted using the public key to obtain video information, and plays the video information, the private key and the public key being a key pair. The method provided by the present invention has the advantage of high security. |