Solving low density subset sum problems
- 1 November 1983
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 02725428,p. 1-10
- https://doi.org/10.1109/sfcs.1983.70
Abstract
The subset sum problem is to decide whether or not the 0-1 integer programming problem Σi=1n aixi = M; all xi = 0 or 1; has a solution, where the ai and M are given positive integers. This problem is NP-complete, and the difficulty of solving it is the basis of public key cryptosystems of knapsack type. We propose an algorithm which when given an instance of the subset sum problem searches for a solution. This algorithm always halts in polynomial time, but does not always find a solution when one exists. It converts the problem to one of finding a particular short vector v in a lattice, and then uses a lattice basis reduction algorithm due to A. K. Lenstra, H. W. Lenstra, Jr., and L. Lovász to attempt to find v. We analyze the performance of the proposed algorithm. Let the density d of a subset sum problem be defined by d=n/log2(maxi ai). Then for "almost all" problems of density d ≪ .645 the vector v we are searching for is the shortest nonzero vector in the lattice. We prove that for "almost all" problems of density d ≪ 1/n the lattice basis reduction algorithm locates v. Extensive computational tests of the algorithm suggest that it works for densities d ≪ dc (n), where dc (n) is a cutoff value that is substantially larger than 1/n. This method gives a polynomial time attack on knapsack public key cryptosystems that can be expected to break them if they transmit information at rates below dc (n), as n → ∞.Keywords
This publication has 10 references indexed in Scilit:
- On breaking generalized knapsack public key cryptosystemsPublished by Association for Computing Machinery (ACM) ,1983
- On the complexity of finding short vectors in integer latticesLecture Notes in Computer Science, 1983
- Factoring polynomials with rational coefficientsMathematische Annalen, 1982
- The computational complexity of simultaneous Diophantine approximation problemsPublished by Institute of Electrical and Electronics Engineers (IEEE) ,1982
- A polynomial time algorithm for breaking the basic Merkle-Hellman cryptosystemPublished by Institute of Electrical and Electronics Engineers (IEEE) ,1982
- Minkowskische Reduktionsbedingungen für positiv definite quadratische Formen in 5 VariablenMonatshefte für Mathematik, 1982
- Cryptology in TransitionACM Computing Surveys, 1979
- Hiding information and signatures in trapdoor knapsacksIEEE Transactions on Information Theory, 1978
- A Fortran Multiple-Precision Arithmetic PackageACM Transactions on Mathematical Software, 1978
- How to calculate shortest vectors in a latticeMathematics of Computation, 1975