CN105337737B

Public key encryption communication method and apparatus

Abstract

Embodiments of the present invention provide a public key encryption communication method and apparatus. The public key encryption communication method of the present invention includes: the first device encrypts the random information according to the first public key to obtain the first ciphertext; and the first device encrypts the plaintext information according to the second public key to obtain the second secret. The plaintext information is unencrypted data to be sent by the first device to the second device; the first public key is represented by a polynomial form, and the first public key is calculated on the truncated polynomial ring according to system parameters. Obtaining; the second public key is represented by a polynomial form, the second public key is randomly selected on the truncated polynomial ring; the random information is randomly selected on the truncated polynomial ring; the first device will be the first secret And the second ciphertext is sent to the second device. The embodiment of the invention implements a public key encryption communication method with higher security.

CN105337737B, drawing sheet 1
Sheet 1 of 101

Term

7.8 yearsleft in the term

Expires 3 July 2034.

  1. Priority and filed
  2. Granted
  3. Today
  4. Expires

34 claims: 4 independent, 30 dependent

  1. 1
    一种公钥加密通信方法,其特征在于,包括: 第一设备根据第一公钥对随机信息进行加密,得到第一密文;所述第一设备根据第二公钥对明文信息进行加密,得到第二密文;所述明文信息为所述第一设备待发送给第二设备的未加密数据;所述第一公钥采用多项式形式表示且所述第一公钥根据系统参数,在截断多项式环上计算得到;所述第二公钥采用多项式形式表示且所述第二公钥在截断多项式环上随机选取;所述随机信息在截断多项式环上随机选取; 所述第一设备将所述第一密文和所述第二密文发送给第二设备; 其中,所述随机信息包括第一随机多项式和第二随机多项式;所述第一设备根据第一公钥对随机信息进行加密,得到第一密文,具体包括: 所述第一设备根据所述第一公钥、所述第一随机多项式、所述第二随机多项式,在模第一系统参数的第一截断多项式环上计算得到所述第一密文。 A public key encryption communication method, comprising:the first device encrypts the random information according to the first public key to obtain a first ciphertext;and the first device performs the plaintext information according to the second public key. Encrypting to obtain a second ciphertext;the plaintext information is unencrypted data to be sent by the first device to the second device;the first public key is represented by a polynomial form and the first public key is according to a system parameter, Calculated on the truncated polynomial ring;the second public key is represented by a polynomial form and the second public key is randomly selected on the truncated polynomial ring;the random information is randomly selected on the truncated polynomial ring;the first device Sending the first ciphertext and the second ciphertext to the second device, where the random information includes a first random polynomial and a second random polynomial;the first device according to the first public key pair random information Performing encryption to obtain the first ciphertext, specifically: the first device according to the first public key, the first random polynomial, and the second random polynomial, the first parameter of the first system parameter The first ciphertext is calculated on the truncated polynomial ring.
  2. 8
    —种公钥加密通信方法,其特征在于,包括: 第二设备接收第一设备发送的第一密文和第二密文; 所述第二设备根据第一私钥、第二私钥和所述第一密文计算得到第二随机多项式,根据第三私钥得到第一随机多项式,所述第一私钥采用多项式形式表示,所述第一私钥在截断多项式环上随机选取;所述第二私钥采用多项式形式表示,所述第二私钥为所述第一私钥在截断多项式环上的逆元;所述第三私钥采用多项式形式表示,所述第三私钥根据系统参数的逆元和截断多项式上具有逆元的多项式计算得到; 所述第二设备根据所述第一随机多项式、所述第二随机多项式、所述第二密文和第二公钥,得到明文信息;所述明文信息为所述第一设备待发送给所述第二设备的未加密数据;所述第二公钥采用多项式形式表示,所述第二公钥在截断多项式环上随机选取。 A public key encryption communication method, comprising:receiving, by a second device, a first ciphertext and a second ciphertext sent by the first device;and the second device, according to the first private key and the second private key Calculating a second random polynomial with the first ciphertext, obtaining a first random polynomial according to the third private key, the first private key is represented by a polynomial form, and the first private key is randomly selected on the truncated polynomial ring;The second private key is represented by a polynomial form, the second private key is an inverse element of the first private key on a truncated polynomial ring;the third private key is represented by a polynomial form, the third private key Calculating according to an inverse of the system parameter and a polynomial having an inverse element on the truncated polynomial;the second device according to the first random polynomial, the second random polynomial, the second ciphertext, and the second public key, Obtaining plaintext information;the plaintext information is unencrypted data to be sent by the first device to the second device;the second public key is represented by a polynomial form, and the second public key is randomly selected on a truncated polynomial ring Select
  3. 18
    The public key encryption communication device, comprising:an encryption unit, configured to encrypt the random information according to the first public key to obtain the first ciphertext;and further configured to perform the plaintext information according to the second public key. Encrypting to obtain a second ciphertext;the plaintext information is unencrypted data to be sent by the apparatus to the second device;the first public key is represented by a polynomial form, and the first public key is truncated according to system parameters Calculated on the polynomial ring;the second public key is represented by a polynomial form, the second public key is randomly selected on the truncated polynomial ring;the random information is randomly selected on the truncated polynomial ring;the transceiver unit, the first The ciphertext and the second ciphertext are sent to the second device, where the random information includes a first random polynomial and a second random polynomial;the cryptographic unit is specifically configured to: according to the first public key, The first random polynomial, the second random polynomial, and the first ciphertext is calculated on a first truncated polynomial ring of a first system parameter of the modulo. 18. —种公钥加密通信装置,其特征在于,包括: 加密单元,用于根据第一公钥对随机信息进行加密,得到第一密文;还用于根据第二公钥对明文信息进行加密,得到第二密文;所述明文信息为所述装置待发送给第二设备的未加密数据;所述第一公钥采用多项式形式表示,所述第一公钥根据系统参数,在截断多项式环上计算得到;所述第二公钥采用多项式形式表示,所述第二公钥在截断多项式环上随机选取;所述随机信息在截断多项式环上随机选取; 收发单元,将所述第一密文和所述第二密文发送给第二设备; 其中,所述随机信息包括第一随机多项式和第二随机多项式;所述加密单元具体用于: 根据所述第一公钥、所述第一随机多项式、所述第二随机多项式,在模第一系统参数的第一截断多项式环上计算得到所述第一密文。
  4. 25
    The public key encryption communication device, comprising:a transceiver unit, configured to receive a first ciphertext and a second ciphertext sent by the first device;and a decryption unit, configured to use the first private key, the second Calculating, by the private key and the first ciphertext, a second random polynomial, and obtaining a first random polynomial according to the third private key, wherein the first private key is represented by a polynomial form, and the first private key is randomly selected on the truncated polynomial ring Selecting;the second private key is represented by a polynomial form, the second private key is an inverse element of the first private key on a truncated polynomial ring;the third private key is represented by a polynomial form, the third The private key is calculated according to an inverse element of the system parameter and a polynomial having an inverse element on the truncated polynomial;the decrypting unit is further configured to use the first random polynomial, the second random polynomial, the second ciphertext, and a second public key, the plaintext information is obtained;the plaintext information is unencrypted data to be sent by the first device to the device;the second public key is represented by a polynomial form, and the second public key is in a truncated polynomial On randomly selected. 25. —种公钥加密通信装置,其特征在于,包括: 收发单元,用于接收第一设备发送的第一密文和第二密文; 解密单元,用于根据第一私钥、第二私钥和所述第一密文计算得到第二随机多项式,根据第三私钥得到第一随机多项式,所述第一私钥采用多项式形式表示,所述第一私钥在截断多项式环上随机选取;所述第二私钥采用多项式形式表示,所述第二私钥为所述第一私钥在截断多项式环上的逆元;所述第三私钥采用多项式形式表示,所述第三私钥根据系统参数的逆元和截断多项式上具有逆元的多项式计算得到; 所述解密单元,还用于根据所述第一随机多项式、所述第二随机多项式、所述第二密文和第二公钥,得到明文信息;所述明文信息为所述第一设备待发送给所述装置的未加密数据;所述第二公钥采用多项式形式表示,所述第二公钥在截断多项式环上随机选取。
Independent claims4