Key negotiation method, apparatus, terminal, storage medium and system
The invention discloses a key negotiation method, comprising the following steps: when a device receives a random number request sent by a terminal, the device generates a first random number and returns the first random number to the terminal. When receiving the key negotiation request message, the...
Saved in:
Main Authors | , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
22.01.2019
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a key negotiation method, comprising the following steps: when a device receives a random number request sent by a terminal, the device generates a first random number and returns the first random number to the terminal. When receiving the key negotiation request message, the device obtains the cipher text data according to the key negotiation request message, and decryptsthe cipher text data to obtain a second random number. When the second random number coincides with the first random number, the device performs key negotiation with the terminal. The invention also discloses a device, a terminal, a computer-readable storage medium and a key agreement system. The invention firstly determines the legitimacy of the terminal when the device and the terminal carry outkey negotiation, thereby enhancing the security of the key negotiation process.
本发明公开了种密钥协商方法,包括以下步骤:设备在接收到终端发送的随机数请求时,则生成第随机数,并将所述第随机数返回至所述终端;所述设备在接收到所述密钥协商请求报文时,根据所述密钥协商请求报文获取所述密文数据,并对所述密文数据进行解密得到第二随机数;在所述第二随机数与所述第随机数致时,则所述 |
---|---|
Bibliography: | Application Number: CN201811302551 |