Saved in:
Bibliographic Details
Main Authors: Stojanović, Vanja, Lesar, Žiga, Bohak, CIril
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2507.14229
Tags: Add Tag
No Tags, Be the first to tag this record!
Table of Contents:
  • We investigate the cryptanalysis of affine ciphers using a hybrid neural network architecture that combines modular arithmetic-aware and statistical feature-based learning. Inspired by recent advances in interpretable neural networks for modular arithmetic and neural cryptanalysis of classical ciphers, our approach integrates a modular branch that processes raw ciphertext sequences and a statistical branch that leverages letter frequency features. Experiments on datasets derived from natural English text demonstrate that the hybrid model attains high key recovery accuracy for short and moderate ciphertexts, outperforming purely statistical approaches for the affine cipher. However, performance degrades for very long ciphertexts, highlighting challenges in model generalization.