Parameterized Complexity Analysis for Cryptanalysis of Composite CipherSystems: FPT Characterization and Optimized Algorithms
Abstract
We present a comprehensive parameterized complexity framework for the cryptanalysis of classical ciphersystems composed of multiple cryptographic transformation layers. Our main theoretical contributionsare threefold. First, we prove that Cipher-Decode is fixed-parameter tractable (FPT) when parameterizedby the structural complexity vector (k, ℓmax, |Σ|), yielding an algorithm with running time O∗(|Σ|k·ℓmax ).Second, we establish that the problem is para-NP-hard when parameterized solely by the number of layersk, and W[1]-hard via a complete formal reduction from k-Clique, providing a tight complexity dichotomy.Third, we design a branch-and-bound algorithm with statistical pruning based on Kullback-Leibler divergenceand the Index of Coincidence, reducing the effective search space by two to six orders of magnituderelative to exhaustive search. Experimental evaluation on 47 benchmark instances spanning Vigenère,substitution, ADFGVX, and multi-layer composite ciphers confirms the theoretical scaling predictions(R2 = 0.9998) and demonstrates speedups of 115× to over 2000× against naive baselines, with directcomparisons against simulated annealing and beam search. To the best of our knowledge, this is the firstrigorous FPT analysis of multi-layer classical cipher cryptanalysis.References
Luksic, I., and Furman, B. (2022). On the Efficiency of Combinatorial Optimization Algorithms in Cryptographic Contexts. Informatica, 46(4), 112-125. DOI: https://doi.org/10.31449/inf.v46i4.3821
Goldreich, O. (2001). Foundations of Cryptography: Volume 1, Basic Tools. Cambridge University Press.
Friedman, W. F. (1922). The Index of Coincidence and Its Applications in Cryptanalysis. Riverbank Publication.
Nuhn, M., Schamper, J., & Ney, H. (2014). Beam Search for Solving Substitution Ciphers. Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics.
Clark, A. J. (1998). Optimization Techniques for Cryptanalysis. PhD Thesis, Queensland University of Technology.
Downey, R. G., & Fellows, M. R. (2013). Fundamentals of Parameterized Complexity. Springer Science & Business Media.
Stinson, D. R., & Paterson, M. (2018). Cryptography: Theory and Practice. CRC Press.
Kasiski, F. W. (1863). Die Geheimschriften und die Dechiffrirkunst. Mittler und Sohn.
DOI:
https://doi.org/10.31449/inf.v50i2.13958Keywords:
Parameterized Complexity, FPT Algorithms, Computational Security, Algorithm EngineeringDownloads
Published
Issue
Section
License
Authors retain copyright in their work. By submitting to and publishing with Informatica, authors grant the publisher (Slovene Society Informatika) the non-exclusive right to publish, reproduce, and distribute the article and to identify itself as the original publisher.
All articles are published under the Creative Commons Attribution license CC BY 3.0. Under this license, others may share and adapt the work for any purpose, provided appropriate credit is given and changes (if any) are indicated.
Authors may deposit and share the submitted version, accepted manuscript, and published version, provided the original publication in Informatica is properly cited.







