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.

Authors

  • Brandon Caillahua Mendoza wayner

DOI:

https://doi.org/10.31449/inf.v50i2.13958

Keywords:

Parameterized Complexity, FPT Algorithms, Computational Security, Algorithm Engineering

Downloads

Published

08/04/2026

Issue

Section

Regular papers

How to Cite

Caillahua Mendoza, B. (2026). Parameterized Complexity Analysis for Cryptanalysis of Composite CipherSystems: FPT Characterization and Optimized Algorithms. Informatica, 50(2). https://doi.org/10.31449/inf.v50i2.13958