Proceedings of the 8th International Conference on Historical Cryptology (HistoCrypt 2025)
Selle kollektsiooni püsiv URIhttps://hdl.handle.net/10062/109727
Sirvi
Sirvi Proceedings of the 8th International Conference on Historical Cryptology (HistoCrypt 2025) Autor "Esslinger, Bernhard" järgi
Nüüd näidatakse 1 - 1 1
- Tulemused lehekülje kohta
- Sorteerimisvalikud
listelement.badge.dso-type Kirje , Enhancing Classical Cipher Type Detection: Prompt Engineering with Common LLMs versus Usage of Custom AI Models(Tartu University Library, 2025) Bastian, Maik; Esslinger, Bernhard; Hermann, Eckehard; Kopal, Nils; Lampesberger, Harald; Antal, Eugen; Marák, PavolIn the field of cryptography, identifying the type of cipher used in an encrypted message is crucial to effective cryptanalysis. Thus far, from a machine learning perspective, this classification problem has been tackled using specifically designed models, such as the Neural Cipher Identifier (NCID), which require data generation and model training capabilities. The recent advent of Large Language Models (LLMs) raises the following question: Can this classification problem be approached more effectively through prompt engineering? This paper explores various generic strategies for prompt engineering, such as chain-of-thought and in-context learning, by evaluating thousands of generated prompts for classical ciphers using open-source LLMs (on an Nvidia DGX system) and ChatGPT (via a browser interface and API). The classification accuracies achieved through these prompting techniques are compared with those obtained by NCID. Although our findings indicate that NCID still significantly outperforms the use of LLMs for cipher-type detection, the latter offers a more accessible approach to cryptography tasks. Both methods can benefit from domain-specific knowledge in cryptanalysis, highlighting the importance of expert input in improving initial classifications and handling complex cipher types.