ChaCha20 Cipher Cryptanalysis through SAT Problem Solving

Boolean encoding is a prominent method for analyzing various algorithms and computer systems, including the cryptanalysis of symmetric ciphers. This approach begins with encoding the cipher algorithm into a Boolean propositional formula, followed by encoding randomly selected bits representing plaintext and cryptographic key as formulas. Specialized programs known as SAT solvers, which solve SAT problems, can then compute ciphertext values for these inputs. The final stage of cryptanalysis involves attempting to compute a key value from the plaintext and ciphertext, effectively performing cryptanalysis with plaintext and ciphertext. In this paper, we demonstrate how SAT techniques apply to the ChaCha20 cipher, a widely used stream cipher in many computer network security systems. We present an extensive analysis and experimental results of SAT-based direct cryptanalysis of the ChaCha20 cipher. Our research involves creating a propositional logical formula representing the entire ChaCha20 algorithm, generating plaintext and key randomly, and computing the corresponding ciphertext. Subsequently, we use SAT solvers to analyze the cipher. To achieve the best results, we compare several SAT solvers, including both relatively old but efficient ones and modern, popular ones. Additionally, we explore the behavior of SAT techniques with ChaCha20, examining its properties through cryptanalysis of both its standard and potentially weaker configurations.

Authors

Institutions

Publication Details

Published
2024-11-13
DOI
https://doi.org/10.1109/informatics62280.2024.10900867
Primary Topic
Cryptographic Implementations and Security
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

ChaCha20 Cipher Cryptanalysis through SAT Problem Solving

Sylwia Stachowiak, Artur Soboń
Cryptographic Implementations and Security
article

ChaCha20 Cipher Cryptanalysis through SAT Problem Solving

Sylwia Stachowiak, Artur Soboń
article en

Abstract

Boolean encoding is a prominent method for analyzing various algorithms and computer systems, including the cryptanalysis of symmetric ciphers. This approach begins with encoding the cipher algorithm into a Boolean propositional formula, followed by encoding randomly selected bits representing plaintext and cryptographic key as formulas. Specialized programs known as SAT solvers, which solve SAT problems, can then compute ciphertext values for these inputs. The final stage of cryptanalysis involves attempting to compute a key value from the plaintext and ciphertext, effectively performing cryptanalysis with plaintext and ciphertext. In this paper, we demonstrate how SAT techniques apply to the ChaCha20 cipher, a widely used stream cipher in many computer network security systems. We present an extensive analysis and experimental results of SAT-based direct cryptanalysis of the ChaCha20 cipher. Our research involves creating a propositional logical formula representing the entire ChaCha20 algorithm, generating plaintext and key randomly, and computing the corresponding ciphertext. Subsequently, we use SAT solvers to analyze the cipher. To achieve the best results, we compare several SAT solvers, including both relatively old but efficient ones and modern, popular ones. Additionally, we explore the behavior of SAT techniques with ChaCha20, examining its properties through cryptanalysis of both its standard and potentially weaker configurations.

Uniwersytet SWPS (PL), Cardinal Stefan Wyszynski University in Warsaw (PL)
Openalex Percentile: Top 70%
Cryptographic Implementations and Security
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.