Skip to main content
  1. Projects/

RSA

2 mins

This entire project was inspired by Dr. Looper at UIC, who taught my amazing Math 215 course!
A big step for my self-confidence

Even before I started my undergraduate degree, I was fascinated by the idea of an asymmetric cryptosystem. It just seemed like magic to me.

So I would occasionally visit the Wikipedia page for RSA, only to get discouraged quickly by how out-of-reach this knowledge seemed. Once that discouragement had worn off and something again piqued my curiosity, I’d revisit the page, and the cycle would continue.

Eventually, while learning about modular arithmetic in Math 215 at UIC, Dr. Looper made an offhand comment about how this math is the backbone of RSA. My curiosity again spiked, this time higher than ever before. Maybe I could actually understand it this time!

With the frequent help of Dr. Looper both in class and during office hours, I built an intuitive understanding of the cryptosystem and started a C++ implementation (using boost::multiprecision for the large integers) in the Fall of 2023.

I put hours and hours into the project, developing a Rust CLI frontend (if I were starting the project today, I would have written it entirely in Rust with num_bigint) and a WASM-compiled version you can try in your browser right now!

Seriously, go try it out now and come back later!

Realizing that I had gained an implementation-worthy understanding of something I’d once written off as only for “genius mathematicians” changed the way I saw myself.

I gained a new confidence. After learning RSA in class, it took me more than half a year to get RSA working, but I got it working. I learned that I’m not innately too stupid to understand most things, no matter how impossibly difficult they seem. If I put my mind (and lots of time) to it, I can understand almost anything.

Jacob Cohen
Author
Jacob Cohen
Computer systems Ph.D. student with Dr. Jakob Eriksson at the University of Illinois, Chicago.