GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

McEliece cryptosystem

In cryptography, the McEliece cryptosystem is an asymmetric encryption algorithm developed in 1978 by Robert McEliece. It was the first such scheme to use randomization in the encryption process. The algorithm has never gained much acceptance in the cryptographic community, but is a candidate for "post-quantum cryptography", as it is immune to attacks using Shor's algorithm and – more generally – measuring coset states using Fourier sampling. The algorithm is based on the hardness of decoding a general linear code (which is known to be NP-hard ) and of the hardness of using the public key to recover an efficient decoding algorithm . For a description of the private key, an error-correcting... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

In cryptography, the McEliece cryptosystem is an asymmetric encryption algorithm developed in 1978 by Robert McEliece. It was the first such scheme to use randomization in the encryption process. The algorithm has never gained much acceptance in the cryptographic community, but is a candidate for "post-quantum cryptography", as it is immune to attacks using Shor's algorithm and – more generally – measuring coset states using Fourier sampling. The algorithm is based on the hardness of decoding a general linear code (which is known to be NP-hard ) and of the hardness of using the public key to recover an efficient decoding algorithm . For a description of the private key, an error-correcting code is selected for which an efficient decoding algorithm is known, and that is able to correct t errors. The original algorithm uses binary Goppa codes (subfield codes of algebraic geometry codes of a genus-0 curve over finite fields of characteristic 2); these codes can be efficiently decoded, thanks to an algorithm due to Patterson. The public key is derived from the private key by disguising the selected code as a general linear code. For this, the code's generator matrix G is perturbated by two randomly selected invertible matrices S and P (see below). Variants of this cryptosystem exist, using different types of codes. Most of them were proven less secure; they were broken by attacks that took advantage of the hidden structure of the public key . A version using moderate-density parity check codes is still believed to be secure . McEliece with Goppa codes resisted cryptanalysis until 2026, when a series of key-recovery attacks were found . The cost of these attacks is high, but for the original Classic McEliece parameters it is significantly less than information-set decoding, the previously most effective algorithm . The attack can be mitigated by adjusting parameters, but this requires larger keys and ciphertexts to compensate . In particular, ciphertext sizes now scale quadratically with the security required in bits . Prior to 2026, the most effective attacks known used information-set decoding algorithms. A 2008 paper described both an attack and a fix. Another paper shows that for quantum computing, key sizes must be increased by a factor of four due to improvements in information set decoding. The McEliece cryptosystem has some advantages over, for example, RSA. The encryption and decryption are faster. For a long time, it was thought that McEliece could not be used to produce signatures. However, a signature scheme can be constructed based on the Niederreiter scheme, the dual variant of the McEliece scheme. One of the main disadvantages of McEliece is that the private and public keys are large matrices. For a standard selection of parameters, the public key is 512 kilobits long. Alice computes the k \times n matrix {\hat G} = SGP . Alice's public key is ({\hat G}, t) ; her private key is (S, P, A) . Note that A could be encoded and stored as the parameters used for selecting C . Bob computes the vector c^{\prime} = m{\hat G} . Bob generates a random n -bit vector z containing exactly t ones (a vector of length n and weight t ) Bob sends Alice the ciphertext computed as c = c^{\prime} + z . Alice computes {\hat c} = cP^{-1} . Alice uses the decoding algorithm A to decode {\hat c} to {\hat m} . Alice computes m = {\hat m}S^{-1} . Note that {\hat c} = cP^{-1} = m{\hat G}P^{-1} + zP^{-1} = mSG + zP^{-1} , and that P is a permutation matrix, thus zP^{-1} has weight t . The Goppa code G can correct up to t errors, and the word mSG is at distance at most t from cP^{-1} . Therefore, the correct code word {\hat m} = mS is obtained. Multiplying with the inverse of S gives m = {\hat m}S^{-1}= mSS^{-1} , which is the plain text message. Because there is a free choice in the matrix S , it is common to express {\hat G} in "systematic form" so that the last k columns correspond to the identity matrix {\hat G} = ({\tilde G}|I) . This reduces the key size to (n-k) \times k . McEliece originally suggested security parameter sizes of n=1024, k=524, t=50 , resulting in a public key size of . Recent analysis suggests parameter sizes of n=2048, k=1751, t=27 for 80 bits of security when using standard algebraic decoding, or n=1632, k=1269, t=34 when using list decoding for the Goppa code, giving rise to public key sizes of and respectively. For resiliency against quantum computers, sizes of n=6960, k=5413, t=119 with Goppa code were proposed, giving the size of public key of . In its round 3 submission to the NIST post quantum standardization the highest level of security, level 5 is given for parameter sets 6688128, 6960119, and 8192128. The parameters are n=6688, k=5024, t= 128 , n= 6960, k = 5413, t = 119 , n=8192, k =6528, t = 128 respectively.

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"McEliece cryptosystem". 1790795751. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1377732135

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·