{"title":"整数因式分解的 SAT 和网格还原","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":"{\"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}","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
摘要
将大整数分解成素数的难度是 RSA 等密码系统的基础。由于 RSA 的广泛普及,已经出现了许多针对因式分解问题的攻击建议,例如在质因数的某些比特可用时的侧信道攻击。当已知的质因数位数足够多时,有两种方法可以有效解决因式分解问题,即可满足性(SAT)求解器和 Coppersmith 方法。SAT 方法将因式分解问题简化为布尔可满足性问题,而 Coppersmith 方法则使用格基还原。这两种方法各有优势,但也各有局限:Coppersmith 的方法不适用于已知位位置随机化的情况,而基于 SAT 的方法可以利用任意位置的已知位,但却不知道 Coppersmith 方法所利用的代数结构。本文描述了一种新的 SAT 和计算机代数混合方法,用于高效解决随机泄漏比特因式分解问题。具体来说,SAT 求解器会调用 Coppersmith 方法来确定部分位赋值是否可以扩展为完整赋值。我们的混合实现解决随机泄漏位因式分解问题的速度明显快于纯 SAT 或纯计算机代数方法。
SAT and Lattice Reduction for Integer Factorization
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.