Rebuilding Cryptography From Scratch - My Complete Learning Journey (All Parts Inside)
This collection brings together all my deep-dive explorations into cryptography
Why this project exists - and why it might matter to you
I picked up a guitar at fifteen because I wanted to play Metallica and Lamb of God. I hunted down tabs, copied riffs, and tried to brute-force my way into sounding like my heroes. It didn’t work. Months passed, and I still couldn’t play anything properly.
A friend told me to stop chasing songs and start practicing scales and exercises. I hated that idea. “I want to play real music, not this boring stuff.” But eventually, frustrated and humbled, I gave in. It felt like those Kung Fu movies where the student does strange, meaningless chores—until suddenly he realises he’s been training all along.
That was me. Those “useless” exercises were the foundations. Scales weren’t separate from music; they were the music. They were hidden inside every riff, every chord, every moment that sounded good. Once I accepted that, everything clicked. I gained the skill, the understanding, and finally the ability not just to imitate songs—but to create my own.
Around the same age, I fell in love with programming. For years I jumped between whatever was new: frameworks, clouds, AI, agents—always chasing the next shiny thing. Only recently did I realise something important: everything modern sits on top of a small set of timeless principles. The hype comes and goes. The fundamentals stay.
And again, just like the guitar, I recognised the pattern. The real power isn’t in the newest trend—it’s in the old “boring” building blocks that shape everything else. Master them deeply, and the whole matrix becomes understandable and controllable.
That’s why I started rebuilding my foundations from scratch. Not just reading concepts, but internalising them—running them through my mind and hands until they became part of me. The results are dramatic: my understanding of modern systems grew sharper, deeper, more connected.
Cryptography is one of those foundations. It looks distant and academic, yet every part of our digital world depends on it. Security is more important than ever, yet our actual understanding of it slips away behind layers of abstractions and frameworks.
So I’m going back to the source—relearning and rebuilding cryptography from the ground up.
And I invite you to join me on this journey into the fundamentals that truly matter.
📘 Full Summary of the Cryptography Series
Below is the complete, growing list of all parts in this project.
This article will stay updated as new chapters are released.
🔹 1. Theoretical Foundations of Cryptography
Part 1 — Basic Building Blocks
What cryptography is actually made of — entropy, keys, messages, adversaries.
The ideal world: when encryption is mathematically unbreakable.
Part 3 — Computational Security
The real world: security when perfect secrecy is impossible.
🔹 2. Rebuilding a Stream Cipher
Part 1 — How Stream Ciphers Work
Intuition, structure, and why they’re fast.
Part 2 — RC4: From Ubiquity to Collapse
The rise and fall of one of the most widely used stream ciphers ever.
🔹 3. Rebuilding a Block Cipher
Part 1 - Lego Bricks of Encryption
The fundamental components from which modern block ciphers are constructed.
Part 2 - Building Your Own Block Cipher
A hands-on journey into assembling a functional toy-cipher from first principles.
Part 3 - Building Own Block Cipher: AES
Creating an AES encryption algorithm from scratch based on the technical specification.
🔹 4. Rebuilding a MAC (Message Authentication Code)
Part 1 - Encrypted, but Not Trusted
Why encryption alone is not enough
🚀 What’s next?
This series will expand into:
Hash functions and MACs
Public key cryptography
Real-world protocols
Attacks and pitfalls
And eventually — building a full crypto toolkit from scratch
If you want to follow the journey, this page will always be the central hub.






