MyJournals Home  

RSS FeedsAlgorithms, Vol. 15, Pages 33: Converting of Boolean Expression to Linear Equations, Inequalities and QUBO Penalties for Cryptanalysis (Algorithms)

 
 

21 january 2022 15:28:51

 
Algorithms, Vol. 15, Pages 33: Converting of Boolean Expression to Linear Equations, Inequalities and QUBO Penalties for Cryptanalysis (Algorithms)
 


There exists a wide range of constraint programming (CP) problems defined on Boolean functions depending on binary variables. One of the approaches to solving CP problems is using specific appropriate solvers, e.g., SAT solvers. An alternative is using the generic solvers for mixed-integer linear programming problems (MILP), but they require transforming expressions with Boolean functions to linear equations or inequalities. Here, we present two methods of such a transformation which applies to any Boolean function defined by explicit rules giving values of the Boolean function for all combinations of its Boolean variables. The first method represents the Boolean function as a linear equation in the original binary variables and, possibly, binary ancillaries, which become additional variables of the MILP problem being composed. The second method represents the Boolean function as a set of linear inequalities in the original binary variables and one additional continuous variable (representing the value of the function). The choice between the first or second method is a trade-off between the number of binary variables and number of linear constraints in the emerging MP problem. The advantage of the proposed approach is that both methods reduce important cryptanalysis problems, such as the preimaging of hash functions or breaking symmetric ciphers as the MILP problems, which are solved by the generic MILP solvers. Furthermore, the first method enables to reduce the binary linear equations to quadratic unconstrained binary optimization (QUBO), by the quantum annealer, e.g., D-Wave.


 
139 viewsCategory: Informatics
 
Algorithms, Vol. 15, Pages 13: Parallel Computing of Edwards—Anderson Model (Algorithms)
Algorithms, Vol. 15, Pages 34: Convex Neural Networks Based Reinforcement Learning for Load Frequency Control under Denial of Service Attacks (Algorithms)
 
 
blog comments powered by Disqus


MyJournals.org
The latest issues of all your favorite science journals on one page

Username:
Password:

Register | Retrieve

Search:

Informatics


Copyright © 2008 - 2024 Indigonet Services B.V.. Contact: Tim Hulsen. Read here our privacy notice.
Other websites of Indigonet Services B.V.: Nieuws Vacatures News Tweets Nachrichten