WO2020173062A1 - 一种用于lwe公钥密码的错误协调方法 - Google Patents

一种用于lwe公钥密码的错误协调方法 Download PDF

Info

Publication number
WO2020173062A1
WO2020173062A1 PCT/CN2019/102934 CN2019102934W WO2020173062A1 WO 2020173062 A1 WO2020173062 A1 WO 2020173062A1 CN 2019102934 W CN2019102934 W CN 2019102934W WO 2020173062 A1 WO2020173062 A1 WO 2020173062A1
Authority
WO
WIPO (PCT)
Prior art keywords
vector
public key
binary
error
length
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2019/102934
Other languages
English (en)
French (fr)
Inventor
王小云
王安宇
孙悦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tsinghua University filed Critical Tsinghua University
Publication of WO2020173062A1 publication Critical patent/WO2020173062A1/zh
Priority to US17/361,074 priority Critical patent/US11575466B2/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0045Arrangements at the receiver end
    • H04L1/0047Decoding adapted to other signal detection operation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/30Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
    • H04L9/304Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy based on error correction codes, e.g. McEliece
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0041Arrangements at the transmitter end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0041Arrangements at the transmitter end
    • H04L1/0042Encoding specially adapted to other signal generation operation, e.g. in order to reduce transmit distortions, jitter, or to improve signal shape
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0819Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
    • H04L9/0825Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0894Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage

Definitions

  • the invention relates to the technical field of cryptography, in particular to an error coordination method for LWE public key cryptography.
  • post-quantum cryptography can be divided into: code-based cryptography, lattice-based cryptography, hash-based cryptography, and multivariate-based cryptography.
  • LWE public key cryptography is an important type of lattice-based post-quantum public key cryptography.
  • a key to designing public key cryptographic algorithms based on the LWE problem is the problem of error coordination.
  • Alice encrypts the message u into a ciphertext v through the LWE public key password, and sends v to the recipient Bob.
  • the errors introduced in the scheme are necessary for security. The errors play a key role in the difficulty of the LWE problem under the quantum computing model. Without errors, the scheme can be easily cracked by an attacker; on the other hand, it is legal.
  • the receiver Bob needs to be able to effectively eliminate the error, otherwise the existence of the error will make the receiver only get the approximate value of the information, which will cause the communication to fail.
  • the existing error coordination scheme is to directly disperse each bit information of the message into the integer interval ⁇ -q/2,...,q/2-1 ⁇ , and then transmit the dispersed information.
  • Alice first maps each bit of the message u according to the rule 0->0; 1->-q/2 to obtain the vector u′ and then encrypt and transmit it to Bob.
  • the key to the successful decoding of the message receiver is that the error e cannot exceed the predetermined range.
  • each bit of error e must be in the integer interval ⁇ -q/4,...,q/4-1 ⁇ , otherwise it cannot be successfully decoded.
  • the error e is a vector that satisfies the Gaussian distribution, and its range must be predetermined according to the security level of the algorithm. Therefore, when designing an error coordination scheme, in order to ensure successful decryption, one method is to choose a larger q, which will result in a larger ciphertext; the other method is to reduce the number of plaintext bits per transmission. Both methods are Will result in a loss of transmission rate.
  • the present invention provides an error coordination method for LWE public key ciphers.
  • the error coordination scheme in LWE public key ciphers is realized by combining binary linear codes and Gray codes. .
  • the encoding algorithm includes the following steps:
  • Step 1 Use an encoder of [n,k,d] binary linear code to map the binary vector u to a binary vector x ⁇ 0,1 ⁇ n of length n ;
  • Step 3 Multiply each bit of vector y by q/p to obtain a q-element vector z ⁇ Z q m of length m ;
  • the decoding algorithm includes the following steps:
  • Step 1 Divide each bit of the vector w by q/p, and then round according to the preset rounding method to obtain a p-element vector y′ ⁇ Z p m of length m ;
  • Step 2 Use t-bit Gray code to split each bit of the vector y′ ⁇ Z p m into t bits, thereby obtaining a binary vector x′ ⁇ 0,1 ⁇ n of length n ;
  • Step 3 Use the decoder of the binary linear code [n,k,d] to recover the message vector u from the binary vector x′ ⁇ 0,1 ⁇ n .
  • the preset rounding method is a rounding method.
  • the length k of the input message and the modulus q of the output message in the encoding algorithm are determined in advance by the security level of the LWE public key cryptographic algorithm; in addition, the range of the error vector e is also determined by the security level of the LWE public key cryptographic algorithm determine.
  • Step 2 Calculate the capacity of the corresponding binary channel according to steps one and two in the decoding algorithm and the range of the error vector e;
  • Step 3 Select the corresponding [n,k,d] binary linear code according to the binary channel capacity, so that the decoding error probability meets the security level requirements of the LWE public key cryptographic algorithm;
  • the error coordination method for LWE public key cryptography realizes an error coordination scheme in LWE public key cryptography by combining binary linear codes and Gray codes.
  • the error coordination method includes encoding algorithm and decoding algorithm, which can be used to solve the problem of error coordination in LWE public key cryptography.
  • the solution of the present invention has good fault tolerance performance and can significantly increase the transmission rate of encrypted information.
  • Fig. 1 is a flowchart of an encoding algorithm in an error coordination method for LWE public key cryptography provided by an embodiment of the present invention
  • FIG. 2 is a flow chart of the decoding algorithm in the error coordination method for LWE public key cryptography provided by an embodiment of the present invention
  • FIG. 3 is a flowchart of the parameter selection steps in the error coordination method for LWE public key cryptography provided by an embodiment of the present invention.
  • This embodiment provides an error coordination method for LWE public key cryptography, which includes two parts: an encoding algorithm (as shown in Figure 1) and a decoding algorithm (as shown in Figure 2) .
  • the input of the encoding algorithm is a binary message vector u ⁇ 0,1 ⁇ k of length k
  • the output is a binary vector u ⁇ 0,1 ⁇ k corresponding to z.
  • the steps of the encoding algorithm and the decoding algorithm are as follows:
  • Step 1 Use a [n,k,d] binary linear code encoder to map the binary vector u to a binary vector x ⁇ 0,1 ⁇ n of length n .
  • Step 2 Use a t-bit Gray code to map each t bit of the binary vector x to an integer on Z p , thereby obtaining a p-element vector y ⁇ Z p m of length m .
  • Step 3 Multiply each bit of vector y by q/p to obtain a q-element vector z ⁇ Z q m of length m .
  • Step 1 Divide each bit of the vector w by q/p, and then round to obtain a p-element vector y′ ⁇ Z p m of length m .
  • rounding refers to rounding (ie Round rounding), for example, rounding 2.4 is 2, and -3.6 is -4.
  • Step 2 Using t-bit Gray code, split each bit of the vector y′ ⁇ Z p m into t bits, so as to obtain a binary vector x′ ⁇ 0,1 in length n ⁇ n .
  • Step 3 Use the decoder of the binary linear code [n,k,d] to recover the message vector u from the binary vector x′ ⁇ 0,1 ⁇ n .
  • Figure 3 includes the following steps:
  • Step 2 Calculate the capacity of the corresponding binary channel according to the steps one and two of the decoding algorithm and the range of the error vector e.
  • Step 3 Select the corresponding [n,k,d] binary linear code according to the binary channel capacity, so that the decoding error probability meets the security level requirements of the LWE public key cryptographic algorithm.
  • the error coordination method for LWE public key cipher implementeds the error coordination scheme in LWE public key cipher by combining binary linear code and Gray code.
  • the error coordination method includes encoding algorithm and decoding algorithm, which can be used to solve the problem of error coordination in LWE public key cryptography.
  • the solution of the present invention has good fault tolerance performance and can significantly increase the transmission rate of encrypted information.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Computer And Data Communications (AREA)
  • Error Detection And Correction (AREA)

Abstract

本发明公开了一种用于LWE公钥密码的错误协调方法,该方法包括编码算法和译码算法;其中,编码算法的输入为一个长度为k的二元消息向量u∈{0,1} k,输出为一个长度为m的q元向量z∈Z q m,这里Z q={-q/2,…,q/2-1};译码算法的输入为一个包含错误的长度为m的q元向量w=z+e∈Z q m,输出为z对应的二元向量u∈{0,1} k;本发明提供的用于LWE公钥密码的错误协调方法通过将二元线性码与格雷码结合用以实现LWE公钥密码中的错误协调方案。该错误协调方法包含编码算法和译码算法,可用于解决LWE公钥密码中的错误协调问题。本发明的方案容错性能好,能够显著提高加密信息的传输速率。

Description

一种用于LWE公钥密码的错误协调方法
本申请要求于2019年2月26日提交中国专利局、申请号为201910140289.X,发明名称为“一种用于LWE公钥密码的错误协调方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及密码学技术领域,尤其涉及一种用于LWE公钥密码的错误协调方法。
背景技术
近年来,随着量子计算理论的发展,现有公钥密码体制在量子计算模型下的安全性受到了极大的挑战。例如目前广泛使用的RSA公钥密码体制或椭圆曲线公钥密码体制,其依赖的困难数学问题——大整数分解或椭圆曲线群上的离散对数问题,在量子计算模型下均存在多项式时间的高效求解算法。这促使研究人员开始设计能够抵抗量子计算机攻击的密码,即“后量子密码”。目前,后量子密码的研究已成为一个极重要和活跃的新兴密码学方向,许多发达国家已着力加强后量子密码的研究,并设立了各类重大研究支持计划。美国国家安全局(NSA)已于2015年8月宣布了抗量子密码算法的迁移计划。同年,美国国家标准与技术研究院(NIST)开启了后量子密码算法的征集与评估。根据底层困难数学问题的不同,后量子密码主要可以分为:基于编码的密码,基于格的密码,基于哈希的密码,以及基于多变量的密码。LWE公钥密码是一类重要的基于格的后量子公钥密码。
基于LWE问题设计公钥密码算法的一个关键是错误协调问题。例如Alice将消息u通过LWE公钥密码加密为密文v,并将v发送给接收方Bob,Bob在解密密文v时通过计算只能得到w=u+e,这里e为高斯错误。错误协调问题即从向量w=u+e中消除错误e得到消息u的问题。一方面,方案中引入的错误在安全性上是必须的,错误对于LWE问题在量子计算模型下的困难性有关键作用,没有错误则此方案可被攻击者轻易破解;另一方面,合法的接收方Bob又需要能够有效的消除错误,否则错误的存在会使接收方只能得到信息的近似值,从而导致通信无法正常进行。现有的错误协调方案是将消息的每个比特信息直接分散到整数区间{-q/2,…,q/2-1}中,再传输分散之后的信息。如目前常用的Peikert错误协调方案中,Alice首先将消息u的每一比特按照规则0->0;1->-q/2进行映射,得到向量u′然后加密并传输给Bob。Bob在解密时通过计算得到w=u′+e,然后对向量w按照规则{-q/4,…,q/4-1}->0;{-q/2,…,-q/4-1}U{q/4,…,q/2-1}->1进行映射并得到消息u。
在现有的错误协调方案中,消息接收方解码成功的关键是错误e不能超出既定的范围。如Peikert错误协调方案中,要求错误e的每一位都必须处在整数区间 {-q/4,…,q/4-1}中,否则无法成功解码。而在LWE公钥密码算法的设计中,错误e是一个满足高斯分布的向量,其范围需按照算法的安全级别预先确定。因此在设计错误协调方案时,为确保解密成功,一种方法是选取较大的q,这将导致密文较大;另一种方法是降低每次传输的明文比特数,这两种方法都将导致传输速率的损失。
发明内容
针对上述现有技术中存在的不足之处,本发明提供一种用于LWE公钥密码的错误协调方法,通过将二元线性码与格雷码结合用以实现LWE公钥密码中的错误协调方案。
该用于LWE公钥密码的错误协调方法包括编码算法和译码算法;其中,所述编码算法的输入为一个长度为k的二元消息向量u∈{0,1} k,输出为一个长度为m的q元向量z∈Z q m,这里Z q={-q/2,…,q/2-1};所述译码算法的输入为一个包含错误向量e的长度为m的q元向量w=z+e∈Z q m,输出为z对应的二元向量u∈{0,1} k
所述编码算法包括以下步骤:
步骤一、使用一个[n,k,d]二元线性码的编码器,将二元向量u映射为一个长度为n的二元向量x∈{0,1} n
步骤二、使用一个t-比特格雷码,将二元向量x的每t个比特映射为一个Z p上的整数,从而得到一个长度为m的p元向量y∈Z p m;这里参数需满足关系:n=t×m,p=2 t,p整除q;
步骤三、将向量y每一位乘以q/p,得到一个长度为m的q元向量z∈Z q m
所述译码算法包括以下步骤:
步骤一、将向量w的每一位除以q/p,然后根据预设取整方式取整,得到一个长度为m的p元向量y′∈Z p m
步骤二、使用t-比特格雷码,将向量y′∈Z p m的每一位拆分为t个比特,从而得到一个长度为n的二元向量x′∈{0,1} n
步骤三、使用[n,k,d]二元线性码的译码器,从二元向量x′∈{0,1} n中恢复出消息向量u。
可选地,所述预设取整方式为四舍五入取整方式。
进一步地,所述编码算法中的输入消息的长度k和输出消息的模数q由LWE公钥密码算法的安全级别事先确定;此外,错误向量e的范围也由LWE公钥密码算法的安全级别确定。
进一步地,参数[n,k,d]二元线性码和t-比特格雷码,以及由[n,k,d]二元线性码和t-比特格雷码确定的参数p=2 t,m=n/t的选取步骤包括:
步骤一、任取一个t-比特格雷码,使得t>1且p=2 t整除q;
步骤二、根据所述译码算法中的步骤一、步骤二和错误向量e的范围计算所对应的二元信道的容量;
步骤三、根据二元信道容量选取相应的[n,k,d]二元线性码,使得译码错误概率满足LWE公钥密码算法的安全级别要求;
步骤四、计算参数m=n/t,并判断对应的密文大小是否满足LWE公钥密码算法的通信效率要求;如不满足则选取新的t-比特格雷码并重复上述步骤。
本发明提供的用于LWE公钥密码的错误协调方法,通过将二元线性码与格雷码结合用以实现LWE公钥密码中的错误协调方案。该错误协调方法包含编码算法和译码算法,可用于解决LWE公钥密码中的错误协调问题。本发明的方案容错性能好,能够显著提高加密信息的传输速率。
附图说明
图1为本发明实施例提供的用于LWE公钥密码的错误协调方法中的编码算法流程图;
图2为本发明实施例提供的用于LWE公钥密码的错误协调方法中的译码算法流程图;
图3为本发明实施例提供的用于LWE公钥密码的错误协调方法中的参数选取步骤流程图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。
请参阅图1和图2,本实施例提供一种用于LWE公钥密码的错误协调方法,其包含编码算法(如图1所示)和译码算法(如图2所示)两个部分。其中编码算法的输入为一个长度为k的二元消息向量u∈{0,1} k,输出为一个长度为m的q元向量z∈Z q m,这里Z q={-q/2,…,q/2-1}。译码算法的输入为一个包含错误向量e的长度为m的q元向量w=z+e∈Z q m,输出为z对应的二元向量u∈{0,1} k。具体地,编码算法和译码算法的步骤分别如下:
编码算法:
步骤一、使用一个[n,k,d]二元线性码的编码器,将二元向量u映射为一个长度为n的二元向量x∈{0,1} n
步骤二、使用一个t-比特格雷码(Gray code),将二元向量x的每t个比特映射为一个Z p上的整数,从而得到一个长度为m的p元向量y∈Z p m。这里参数需满足关系n=t×m,p=2 t,p整除q。
步骤三、将向量y每一位乘以q/p,得到一个长度为m的q元向量z∈Z q m
译码算法:
步骤一、将向量w的每一位除以q/p,然后取整,得到一个长度为m的p元向量y′∈Z p m。这里取整指四舍五入取整(即Round取整),例如2.4取整得2,-3.6取整得-4。
步骤二、使用t-比特格雷码(Gray code),将向量y′∈Z p m的每一位拆分为t个比特,从而得到一个长度为n的二元向量x′∈{0,1} n
步骤三、使用[n,k,d]二元线性码的译码器,从二元向量x′∈{0,1} n中恢复出消息向量u。
参数选取:
错误协调方案中输入消息的长度k和输出消息的模数q已由LWE公钥密码算法的安全级别事先确定,此外错误向量e的范围也由安全级别确定。因此需要在错误协调方案中确定的参数包括一个[n,k,d]二元线性码和一个t-比特格雷码,以及由这些参数确定的p=2 t,m=n/t。参数选取的步骤如图3所示,其包括以下步骤:
步骤一、任取一个t-比特格雷码,使得t>1且p=2 t整除q。
步骤二、根据译码算法的步骤一、步骤二和错误向量e的范围计算所对应的二元信道的容量。
步骤三、根据二元信道容量选取相应的[n,k,d]二元线性码,使得译码错误概率满足LWE公钥密码算法的安全级别要求。
步骤四、计算参数m=n/t,并判断对应的密文大小是否满足LWE公钥密码算法的通信效率要求。如不满足则选取新的t-比特格雷码并重复上述步骤。
值得一提的是,本实施例的上述方案采用的二元线性码与格雷码结合可替换为q元线性码(或非线性码)与q元格雷码结合,该替代方案同样可实现LWE公钥密码中的错误协调,其原理与本实施例的上述方案的原理相同。
本实施例提供的用于LWE公钥密码的错误协调方法,通过将二元线性码与格雷码结合用以实现LWE公钥密码中的错误协调方案。该错误协调方法包含编码算法和译码算法,可用于解决LWE公钥密码中的错误协调问题。本发明的方案容错性能好, 能够显著提高加密信息的传输速率。
此外,需要说明的是,本发明实施例中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。
以上仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域技术人员来说,本发明可有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (4)

  1. 一种用于LWE公钥密码的错误协调方法,其特征在于,所述错误协调方法包括编码算法和译码算法;其中,所述编码算法的输入为一个长度为k的二元消息向量u∈{0,1} k,输出为一个长度为m的q元向量z∈Z q m,这里Z q={-q/2,…,q/2-1};所述译码算法的输入为一个包含错误向量e的长度为m的q元向量w=z+e∈Z q m,输出为z对应的二元向量u∈{0,1} k
    所述编码算法包括以下步骤:
    步骤一、使用一个[n,k,d]二元线性码的编码器,将二元向量u映射为一个长度为n的二元向量x∈{0,1} n
    步骤二、使用一个t-比特格雷码,将二元向量x的每t个比特映射为一个Z p上的整数,从而得到一个长度为m的p元向量y∈Z p m;这里参数需满足关系:n=t×m,p=2 t,p整除q;
    步骤三、将向量y每一位乘以q/p,得到一个长度为m的q元向量z∈Z q m
    所述译码算法包括以下步骤:
    步骤一、将向量w的每一位除以q/p,然后根据预设取整方式取整,得到一个长度为m的p元向量y′∈Z p m
    步骤二、使用t-比特格雷码,将向量y′∈Z p m的每一位拆分为t个比特,从而得到一个长度为n的二元向量x′∈{0,1} n
    步骤三、使用[n,k,d]二元线性码的译码器,从二元向量x′∈{0,1} n中恢复出消息向量u。
  2. 如权利要求1所述的用于LWE公钥密码的错误协调方法,其特征在于,所述预设取整方式为四舍五入取整方式。
  3. 如权利要求1所述的用于LWE公钥密码的错误协调方法,其特征在于,所述编码算法中的输入消息的长度k和输出消息的模数q由LWE公钥密码算法的安全级别事先确定;此外,错误向量e的范围也由LWE公钥密码算法的安全级别确定。
  4. 如权利要求1所述的用于LWE公钥密码的错误协调方法,其特征在于,参数[n,k,d]二元线性码和t-比特格雷码,以及由[n,k,d]二元线性码和t-比特格雷码确定的参数p=2 t,m=n/t的选取步骤包括:
    步骤一、任取一个t-比特格雷码,使得t>1且p=2t整除q;
    步骤二、根据所述译码算法中的步骤一、步骤二和错误向量e的范围计算所对应的二元信道的容量;
    步骤三、根据二元信道容量选取相应的[n,k,d]二元线性码,使得译码错误概率满足 LWE公钥密码算法的安全级别要求;
    步骤四、计算参数m=n/t,并判断对应的密文大小是否满足LWE公钥密码算法的通信效率要求;如不满足则选取新的t-比特格雷码并重复上述步骤。
PCT/CN2019/102934 2019-02-26 2019-08-28 一种用于lwe公钥密码的错误协调方法 Ceased WO2020173062A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/361,074 US11575466B2 (en) 2019-02-26 2021-06-28 Error reconciliation method for LWE public key cryptography

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910140289.X 2019-02-26
CN201910140289.XA CN109861821B (zh) 2019-02-26 2019-02-26 一种用于lwe公钥密码的错误协调方法

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/361,074 Continuation US11575466B2 (en) 2019-02-26 2021-06-28 Error reconciliation method for LWE public key cryptography

Publications (1)

Publication Number Publication Date
WO2020173062A1 true WO2020173062A1 (zh) 2020-09-03

Family

ID=66898884

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/102934 Ceased WO2020173062A1 (zh) 2019-02-26 2019-08-28 一种用于lwe公钥密码的错误协调方法

Country Status (3)

Country Link
US (1) US11575466B2 (zh)
CN (1) CN109861821B (zh)
WO (1) WO2020173062A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110049444A (zh) * 2018-12-29 2019-07-23 中国银联股份有限公司 基于5g的定位方法以及基于5g的定位系统
CN109861821B (zh) * 2019-02-26 2020-10-30 清华大学 一种用于lwe公钥密码的错误协调方法
CN116132046B (zh) * 2022-12-07 2025-08-01 中国电子科技集团公司第三十研究所 格基加密算法解密错误率的估算方法、介质、设备及系统
CN116582268A (zh) * 2023-05-12 2023-08-11 中国电子科技集团公司第三十研究所 一种格基密码的高精度方差分布的采样方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321058A (zh) * 2007-06-07 2008-12-10 管海明 一种用于编码和译码数字消息的方法和系统
US20140074719A1 (en) * 2011-01-18 2014-03-13 Fortress Gb Ltd. System and method for computerized negotiations based on coded integrity
CN104396184A (zh) * 2012-04-12 2015-03-04 丁津泰 基于有错配对的新密码系统
CN106341208A (zh) * 2015-07-09 2017-01-18 中国科学院大学 基于平衡索引和极化码的联合信道安全编码方法
CN109861821A (zh) * 2019-02-26 2019-06-07 清华大学 一种用于lwe公钥密码的错误协调方法

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7436902B2 (en) * 2003-06-13 2008-10-14 Broadcom Corporation Multi-dimensional space Gray code maps for multi-dimensional phase modulation as applied to LDPC (Low Density Parity Check) coded modulation
FR2979043B1 (fr) * 2011-08-12 2016-02-12 Gratzer And Partners Dispositif et procede de compression de cles publiques pour algorithme de chiffrement pleinement homomorphique
CN108173643B (zh) * 2016-11-18 2021-04-13 上海扈民区块链科技有限公司 一种高效的密钥共识传输方法
CN107566121B (zh) * 2016-11-18 2020-03-10 上海扈民区块链科技有限公司 一类高效的秘密共识方法
EP3402118A1 (en) * 2017-05-10 2018-11-14 Koninklijke Philips N.V. Key agreement devices and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321058A (zh) * 2007-06-07 2008-12-10 管海明 一种用于编码和译码数字消息的方法和系统
US20140074719A1 (en) * 2011-01-18 2014-03-13 Fortress Gb Ltd. System and method for computerized negotiations based on coded integrity
CN104396184A (zh) * 2012-04-12 2015-03-04 丁津泰 基于有错配对的新密码系统
CN106341208A (zh) * 2015-07-09 2017-01-18 中国科学院大学 基于平衡索引和极化码的联合信道安全编码方法
CN109861821A (zh) * 2019-02-26 2019-06-07 清华大学 一种用于lwe公钥密码的错误协调方法

Also Published As

Publication number Publication date
US11575466B2 (en) 2023-02-07
US20210328714A1 (en) 2021-10-21
CN109861821A (zh) 2019-06-07
CN109861821B (zh) 2020-10-30

Similar Documents

Publication Publication Date Title
US11575466B2 (en) Error reconciliation method for LWE public key cryptography
Yamamoto Rate-distortion theory for the Shannon cipher system
CN110870250B (zh) 密钥协商设备和方法
CN102546600B (zh) 基于代理的加密、解密方法,网络设备、网络装置及系统
CN105556880A (zh) 用于安全通信的方法和装置
US20100046755A1 (en) Cryptography related to keys with signature
KR100561847B1 (ko) 공개키를 이용한 데이터 암호화 및 복호화 방법
TWI841097B (zh) Qap型式同態加密中的多方系統設計的方法
Singh et al. Data security using private key encryption system based on arithmetic coding
CN113132100B (zh) 一种基于滑窗QC-LDPC码的McEliece体制加解密方法
CN107360568A (zh) 利用喷泉码实现对称加密保障无线数据安全传输的方法
CN110572370A (zh) 一种抗量子攻击的代理重加密系统及方法
Balamurugan et al. Code-based post-quantum cryptography
US12500755B2 (en) Techniques for encryption based on perfect secrecy for bounded storage
CN116915407A (zh) 基于区块链的电子公证书校验方法及系统
CN110932863B (zh) 一种基于编码的广义签密方法
CN106453253A (zh) 一种高效的基于身份的匿签密方法
JP3517663B2 (ja) 暗号通信方法及び暗号通信システム
US20060104447A1 (en) Discrete logarithm-based cryptography using the Shafarevich-Tate group
CN109344627A (zh) 一种新型香农完美保密方法
CN110912673B (zh) 具有双解密机制的加性同态加解密方法
CN107317669A (zh) 基于二元截断多项式环的无噪音全同态公钥加密方法
CN109905232B (zh) 一种签解密方法、系统、设备及计算机可读存储介质
US20130058483A1 (en) Public key cryptosystem and technique
US11502818B2 (en) System to secure encoding and mapping on elliptic curve cryptography (ECC)

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19916645

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19916645

Country of ref document: EP

Kind code of ref document: A1