Paper 2023/1551

Evaluating GPT-4’s Proficiency in Addressing Cryptography Examinations

Vasily Mikhalev, University of Siegen
Nils Kopal, University of Siegen
Bernhard Esslinger, University of Siegen
Abstract

In the rapidly advancing domain of artificial intelligence, ChatGPT, powered by the GPT-4 model, has emerged as a state-of-the-art interactive agent, exhibiting substantial capabilities across various domains. This paper aims to assess the efficacy of GPT-4 in addressing and solving problems found within cryptographic examinations. We devised a multi-faceted methodology, presenting the model with a series of cryptographic questions of varying complexities derived from real academic examinations. Our evaluation encompasses both classical and modern cryptographic challenges, focusing on the model's ability to understand, interpret, and generate correct solutions while discerning its limitations. The model was challenged with a spectrum of cryptographic tasks, earning 201 out of 208 points by solving fundamental queries inspired by an oral exam, 80.5 out of 90 points on a written Crypto 1 exam, and 287 out of 385 points on advanced exercises from the Crypto 2 course. The results demonstrate that while GPT-4 shows significant promise in grasping fundamental cryptographic concepts and techniques, certain intricate problems necessitate domain-specific knowledge that may sometimes lie beyond the model's general training. Insights from this study can provide educators, researchers, and examiners with a deeper understanding of how cutting-edge AI models can be both an asset and a potential concern in academic settings related to cryptology. To enhance the clarity and coherence of our work, we utilized ChatGPT-4 to help us in formulating sentences in this paper.

Metadata
Available format(s)
PDF
Category
Applications
Publication info
Preprint.
Keywords
ChatGPTGPT4Machine LearningArtificial IntelligenceCryptography
Contact author(s)
vasily mikhalev @ uni-siegen de
nils kopal @ uni-siegen de
bernhard esslinger @ uni-siegen de
History
2023-10-11: approved
2023-10-09: received
See all versions
Short URL
https://ia.cr/2023/1551
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2023/1551,
      author = {Vasily Mikhalev and Nils Kopal and Bernhard Esslinger},
      title = {Evaluating GPT-4’s Proficiency in Addressing Cryptography Examinations},
      howpublished = {Cryptology ePrint Archive, Paper 2023/1551},
      year = {2023},
      note = {\url{https://eprint.iacr.org/2023/1551}},
      url = {https://eprint.iacr.org/2023/1551}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.