@inproceedings{7c18caad07c5434886a7435b687a0867,
title = "Detection of Classical Cipher Types with Feature-Learning Approaches",
abstract = "To break a ciphertext, as a first step, it is essential to identify the cipher used to produce the ciphertext. Cryptanalysis has acquired deep knowledge on cryptographic weaknesses of classical ciphers, and modern ciphers have been designed to circumvent these weaknesses. The American Cryptogram Association (ACA) standardized so-called classical ciphers, which had historical relevance up to World War II. Identifying these cipher types using machine learning has shown promising results, but the state of the art relies on engineered features based on cryptanalysis. To overcome this dependency on domain knowledge, we explore in this paper the applicability of the two feature-learning algorithms long short-term memory (LSTM) and Transformer, for 55 classical cipher types from ACA. To lower the necessary data and the training time, various transfer-learning scenarios are investigated. Over a dataset of 10 million ciphertexts with a text length of 100 characters, Transformer correctly identified 72.33% of the ciphers, which is a slightly worse result than the best feature-engineering approach. Furthermore, with an ensemble model of feature-engineering and feature-learning neural network types, 82.78% accuracy over the same dataset has been achieved, which is the best known result for this significant problem in the field of cryptanalysis.",
keywords = "Cipher-type detection, Classical ciphers, Ensemble learning, Neural networks, Transfer learning",
author = "Ernst Leierzopf and Vasily Mikhalev and Nils Kopal and Bernhard Esslinger and Harald Lampesberger and Eckehard Hermann",
note = "Publisher Copyright: {\textcopyright} 2021, Springer Nature Singapore Pte Ltd.",
year = "2021",
doi = "10.1007/978-981-16-8531-6_11",
language = "English",
isbn = "978-981-16-8530-9",
volume = "Communications in Computer and Information Science",
series = "Communications in Computer and Information Science",
publisher = "Springer",
pages = "152--164",
editor = "Yue Xu and Rosalind Wang and Anton Lord and Boo, {Yee Ling} and Richi Nayak and Yanchang Zhao and Graham Williams",
booktitle = "Data Mining - 19th Australasian Conference on Data Mining, AusDM, 2021, Proceedings",
address = "Germany",
edition = "1504",
}