Demystifying the RSA Algorithm: An Intuitive Introduction for Novices in Cybersecurity
Zhengping Jay Luo, Ruowen Liu, Aarav Mehta, Md Liakat Ali
TL;DR
The paper addresses the barrier learners face in understanding RSA by presenting a student-oriented, intuitive introduction to public-key cryptography. It centers on the three RSA goals—efficiency, plaintext recovery, and computational difficulty—and provides a step-by-step narrative plus a toy numerical example to illustrate key ideas such as $C ≡ M^e (mod n)$ and $M' ≡ C^d (mod n)$. An empirical assessment across two course sections shows that the proposed approach yields higher RSA-related grades and reduces performance gaps compared to a traditional exposition. Overall, the work demonstrates that simplifying the mathematical presentation and using concrete examples can broaden accessibility to RSA while preserving core cryptographic principles.
Abstract
Given the escalating importance of cybersecurity, it becomes increasingly beneficial for a diverse community to comprehend fundamental security mechanisms. Among these, the RSA algorithm stands out as a crucial component in public-key cryptosystems. However, understanding the RSA algorithm typically entails familiarity with number theory, modular arithmetic, and related concepts, which can often exceed the knowledge base of beginners entering the field of cybersecurity. In this study, we present an intuitively crafted, student-oriented introduction to the RSA algorithm. We assume that our readers possess only a basic background in mathematics and cybersecurity. Commencing with the three essential goals of public-key cryptosystems, we provide a step-by-step elucidation of how the RSA algorithm accomplishes these objectives. Additionally, we employ a toy example to further enhance practical understanding. Our assessment of student learning outcomes, conducted across two sections of the same course, reveals a discernible improvement in grades for the students.
