CN113242122A

Encryption method based on DH and RSA encryption algorithms

Abstract

The invention discloses an encryption method based on DH and RSA encryption algorithms. The method comprises the following steps that 1, a sender negotiates with a receiver based on a preset key exchange algorithm to establish a security key; 2, the sender obtains to-be-transmitted data and counts the data volume of the to-be-transmitted data; 3, when the data volume of the to-be-transmitted data is greater than a preset value, the sender determines a symmetric key based on the security key; 4, the data to be transmitted is encrypted via an AES encryption algorithm based on the symmetric key; 5, the sender broadcasts the encrypted data to be transmitted to the receiver. The method can ensure the secure transmission of the symmetric key and ensure the communication security.

CN113242122A, drawing sheet 1
Sheet 1 of 1

Term

14.6 yearsto projected expiry

Projected expiry 15 April 2041, counted from filing; an application has no term until it is granted.

  1. Priority and filed
  2. Published
  3. Today
  4. Projected expiry

8 claims: 1 independent, 7 dependent

  1. 1
    1 An encryption method based on DH and RSA encryption algorithms, characterized in that the method includes the following steps:Step 1. The sender negotiates with the recipient to establish a security key based on a preset key exchange algorithm;Step 2. The sender Obtain the data to be transmitted, and count the data volume of the data to be transmitted;Step 3. When the data volume of the data to be transmitted is greater than the preset value, the sender determines the symmetric key based on the security key;Step 4: Based on the symmetric key, apply The AES encryption algorithm encrypts the data to be transmitted;Step 5. The sender broadcasts the encrypted data to be transmitted to the receiver. 1 .一种基于DH和RSA加密算法的加密方法,其特征在于所述方法包括如下步骤: 步骤一、发送方基于预设的密钥交换算法与接收方协商建立安全密钥; 步骤二、发送方获取待传输数据,并统计待传输数据的数据量; 步骤三、当待传输数据的数据量大于预设值时,发送方基于安全秘钥确定对称密钥; 步骤四、基于对称密钥,应用AES加密算法对待传输数据进行加密; 步骤五、发送方将加密后的待传输数据广播至接收方。