Data sending method, data receiving method, storage medium and terminal equipment

The invention discloses a data sending method, a data receiving method, a storage medium and terminal equipment. The method comprises the following steps: generating a first random number; obtaining apreset first secret key, and encrypting the first random number according to the first secret key to...

Full description

Saved in:
Bibliographic Details
Main Authors LIAO JINSHUN, LIU YAJUN
Format Patent
LanguageChinese
English
Published 28.07.2020
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention discloses a data sending method, a data receiving method, a storage medium and terminal equipment. The method comprises the following steps: generating a first random number; obtaining apreset first secret key, and encrypting the first random number according to the first secret key to obtain a first encrypted character string corresponding to the first random number; and forming authentication instruction data by the first random number and the first encrypted character string, and sending the authentication instruction data to a receiving end. Legality authentication is carried out on the sender of the data in a CAN network, and bidirectional interaction data authentication is not needed, so that the authentication process is simplified, the development cost is reduced, and meanwhile, the safety of the data of the sender is ensured. 本发明公开了一种数据发送方法、接收方法、存储介质以及终端设备,所述方法包括:生成第一随机数;获取预设的第一秘钥,并根据所述第一秘钥对所述第一随机数进行加密,得到所述第一随机数对应的第一加密字符串;将所述第一随机数和所述第一加密字符串组成认证指令数据,发送至接收端。本方法通过对CAN网络中数据的发送方进行合法性认证,无需双向交
Bibliography:Application Number: CN202010217460