{"title":"SAT and Lattice Reduction for Integer Factorization","authors":"Yameen Ajani, Curtis Bright","doi":"arxiv-2406.20071","DOIUrl":null,"url":null,"abstract":"The difficulty of factoring large integers into primes is the basis for\ncryptosystems such as RSA. Due to the widespread popularity of RSA, there have\nbeen many proposed attacks on the factorization problem such as side-channel\nattacks where some bits of the prime factors are available. When enough bits of\nthe prime factors are known, two methods that are effective at solving the\nfactorization problem are satisfiability (SAT) solvers and Coppersmith's\nmethod. The SAT approach reduces the factorization problem to a Boolean\nsatisfiability problem, while Coppersmith's approach uses lattice basis\nreduction. Both methods have their advantages, but they also have their\nlimitations: Coppersmith's method does not apply when the known bit positions\nare randomized, while SAT-based methods can take advantage of known bits in\narbitrary locations, but have no knowledge of the algebraic structure exploited\nby Coppersmith's method. In this paper we describe a new hybrid SAT and\ncomputer algebra approach to efficiently solve random leaked-bit factorization\nproblems. Specifically, Coppersmith's method is invoked by a SAT solver to\ndetermine whether a partial bit assignment can be extended to a complete\nassignment. Our hybrid implementation solves random leaked-bit factorization\nproblems significantly faster than either a pure SAT or pure computer algebra\napproach.","PeriodicalId":501033,"journal":{"name":"arXiv - CS - Symbolic Computation","volume":"11 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-06-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Symbolic Computation","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2406.20071","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
The difficulty of factoring large integers into primes is the basis for
cryptosystems such as RSA. Due to the widespread popularity of RSA, there have
been many proposed attacks on the factorization problem such as side-channel
attacks where some bits of the prime factors are available. When enough bits of
the prime factors are known, two methods that are effective at solving the
factorization problem are satisfiability (SAT) solvers and Coppersmith's
method. The SAT approach reduces the factorization problem to a Boolean
satisfiability problem, while Coppersmith's approach uses lattice basis
reduction. Both methods have their advantages, but they also have their
limitations: Coppersmith's method does not apply when the known bit positions
are randomized, while SAT-based methods can take advantage of known bits in
arbitrary locations, but have no knowledge of the algebraic structure exploited
by Coppersmith's method. In this paper we describe a new hybrid SAT and
computer algebra approach to efficiently solve random leaked-bit factorization
problems. Specifically, Coppersmith's method is invoked by a SAT solver to
determine whether a partial bit assignment can be extended to a complete
assignment. Our hybrid implementation solves random leaked-bit factorization
problems significantly faster than either a pure SAT or pure computer algebra
approach.