Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

A compact QUBO encoding of computational logic formulae demonstrated on cryptography constructions

About

We aim to advance the state-of-the-art in Quadratic Unconstrained Binary Optimization formulation with a focus on cryptography algorithms. As the minimal QUBO encoding of the linear constraints of optimization problems emerges as the solution of integer linear programming (ILP) problems, by solving special boolean logic formulas (like ANF and DNF) for their integer coefficients it is straightforward to handle any normal form, or any substitution for multi-input AND, OR or XOR operations in a QUBO form. To showcase the efficiency of the proposed approach we considered the most widespread cryptography algorithms including AES-128/192/256, MD5, SHA1 and SHA256. For each of these, we achieved QUBO instances reduced by thousands of logical variables compared to previously published results, while keeping the QUBO matrix sparse and the magnitude of the coefficients low. In the particular case of AES-256 cryptography function we obtained more than 8x reduction in variable count compared to previous results. The demonstrated reduction in QUBO sizes notably increases the vulnerability of cryptography algorithms against future quantum annealers, capable of embedding around $30$ thousands of logical variables.

Gregory Morse, Tam\'as Kozsik, Oskar Mencer, Peter Rakyta• 2024

Related benchmarks

TaskDatasetResultRank
QUBO EncodingAES-128
QUBO Size2.28e+4
2
QUBO EncodingMD5
QUBO Size1.53e+4
2
QUBO Encodingsha1
QUBO Size1.94e+4
2
QUBO EncodingSHA-256
QUBO Size4.29e+4
2
QUBO EncodingAES-192
QUBO Size2.43e+4
1
QUBO EncodingAES-192 Decryption
QUBO Size2.60e+4
1
QUBO EncodingAES-256
QUBO Size2.93e+4
1
QUBO EncodingAES-256 Decryption
QUBO Size3.12e+4
1
Showing 8 of 8 rows

Other info

Follow for update