A simple and efficient attack on the Merkle-Hellman knapsack cryptosystem
Related Experiment Videos
Jingguo Bi1,2, Lei Su1, Haipeng Peng1
1School of Cyberspace Security, Beijing University of Posts and Telecommunications, Beijing, China.
Abstract:
The Merkle-Hellman knapsack cryptosystem was one of the two earliest public key cryptosystems, which was invented by Merkle and Hellman in 1978. One can recover the equivalent keys by using Shamir's method. The most time-consuming part of Shamir's attack is to recover the critical intermediate parameters by solving an integer programming problem with a fixed number of variables, whose worst-case complexity is exponential of the number of variables. In this paper, we present an improved algorithm to analyze the basic Merkle-Hellman public key cryptosystem. The main idea is to recover a partial super-increasing sequence as equivalent private key, which is the main difference from Shamir's. More precisely, we first obtain a super-increasing sequence by invoking the LLL algorithm on a special lattice with a small dimension. We can recover most part of the plaintext from the tail by solving the super-increasing knapsack problem. Finally, we get the first part of plaintext by solving a size-reduced knapsack problem. Experimental data shows that one can recover the whole plaintext in less than 1 second on a laptop for the typical parameters of the Merkle-Hellman cryptosystem, whose time complexity is reduced by a polynomial level compared with Shamir's algorithm.
Related Concept Videos
Norton's Theorem
Radical Anti-Markovnikov Addition to Alkenes: Overview
Oxymercuration-Reduction of Alkenes
Binomial Expansion Using Pascal's Triangle
Theorems of Pappus and Guldinus: Problem Solving
Radical Anti-Markovnikov Addition to Alkenes: Mechanism
The mechanism starts with chain initiation, which involves two steps. In the first chain initiation step, a weak peroxide bond is homolytically cleaved upon mild heating to form two alkoxy radicals. In the second initiation step, a hydrogen atom is abstracted by the alkoxy radical...