Edited by humans. Written by AI. How our editing works
All articles

Unpacking Dr. Birch's Unique AES Key Schedule

Explore Dr. Birch’s creative take on AES key scheduling, blending coding and cryptography with unique twists.

Tyler Nakamura

Written by AI. Tyler Nakamura

January 5, 20263 min read
Share:
Dark blue digital background with orange "KEY SCHEDULE" text in rounded box and "CODING A" header text, featuring glowing…

Photo: dr Jonas Birch / YouTube

Hey tech explorers! Today we're diving into a pretty intriguing video from Dr. Jonas Birch's YouTube series on designing your own encryption cipher. This is episode 3 of 8, and it's all about creating a key schedule for the AES cipher using C programming. Now, if you're like me, you probably think of key schedules as the magical process behind secure encryption. But Dr. Birch gives it a unique twist. 🚀

Dr. Birch's Creative Take on AES

In the video, Birch sets out to design a key schedule that generates 16 subkeys from a 128-bit encryption key. If you're scratching your head because that doesn't sound like standard AES... well, you're not wrong! Standard AES-128 actually generates 11 round keys (10 rounds plus the initial key), not 16. What Birch is offering is a creative interpretation, or as he might say, a "beautiful" take on key scheduling. So, buckle up! We're in for a ride through cryptographic creativity.

The Fibonacci Twist

One of the standout elements of Birch's approach is his use of Fibonacci numbers as round constants. He states, "In addition to this, we are also going to have 16 round constants which are based on the Fibonacci numbers." Now, in standard AES, round constants (Rcon) are derived from powers of 2 in the finite field GF(2^8). Birch's choice to use Fibonacci numbers isn't part of the official AES design—it’s his own creative spin, adding a layer of mathematical elegance to the process.

The G() Function and Rotations

Birch introduces a function he calls g(), which is reminiscent of a combination of AES's RotWord, SubWord, and Rcon operations. He explains: "We rotate the whole thing to the left seven bit positions. That's step number one." Standard AES rotates a 4-byte word by 1 byte (8 bits), so Birch's 7-bit rotation is another departure from the norm. This function also involves the use of the S-box, a standard component in AES for substitution.

Subkeys Galore

The video claims the generation of 16 subkeys, each 128 bits long. Birch notes, "The output is key zero, k1 to all the way up to K 15 also at 128 bits." In the world of standard AES-128, it generates 11 keys, so once again, Birch is diverging from the traditional path, perhaps to illustrate a different concept or simply to challenge our understanding.

The Technical Underpinnings

For those of you who love diving into the nuts and bolts, Birch's video doesn't disappoint. He provides a detailed explanation of bitwise operations, substitutions using the S-box, and the conceptual analogy to puzzles. While his methods deviate from the official AES specifications, they offer educational value and a fresh perspective on encryption.

Fact Check: Where Birch Deviates

  • Subkey Count: Standard AES-128 generates 11 keys, not 16.
  • Round Constants: AES uses Rcon derived from powers of 2, not Fibonacci numbers.
  • Rotations: AES rotates by 1 byte (8 bits), not 7 bits.

Why It Matters

Dr. Birch's tutorial is a reminder that cryptography can be as much an art as it is a science. His approach, while not aligning with AES standards, encourages viewers to think outside the box and explore the mechanics of encryption in new ways. It’s a testament to the creative potential within technical disciplines.

Whether you're a budding cryptographer or a seasoned programmer, Birch's series offers a platform to learn, question, and innovate. And in the ever-evolving landscape of tech, those are invaluable skills. Until next time, keep exploring and coding your way to new discoveries! 💻

By Tyler Nakamura

More Like This

Green owl mascot with large eyes on a matrix-code background promoting a C programming advanced concepts tutorial

What Actually Happens When You Run printf() in C

Dr. Jonas Birch's tutorial reveals the three-layer journey from C library calls to system calls to CPU instructions—using printf() as the unlikely hero.

Yuki Okonkwo·5 months ago·5 min read
Multiple file types (.txt, .txg, .png, .mp4) compress into a ZIP folder with a glowing arrow, highlighting 70% size…

Three Hours of Debugging a File Compressor in C

Dr. Jonas Birch spent 3.5 hours live-coding a file compressor in C. What the session reveals about real programming work might surprise you.

Marcus Chen-Ramirez·5 months ago·6 min read
A woman in a red jacket appears concerned next to a glowing golden quantum computer structure, with "How Dangerous Is It?"…

Quantum Computing Finally Found Its Killer App: Breaking Stuff

Google just moved up the timeline for quantum computers to break encryption to 2029. After decades of promises, code-breaking is what quantum actually does.

Mike Sullivan·5 months ago·5 min read
A cartoon penguin confined in a transparent blue box against a light blue background, illustrating the concept of file…

Why Regulators Should Care About C Programming Skills

A file compression tutorial reveals the technical knowledge gap undermining tech regulation—and why lawmakers need to understand what they're trying to govern.

Samira Barnes·6 months ago·6 min read
Cloudflare logo displayed centrally against shelves of colorful lava lamps with purple lighting backdrop

How Cloudflare Uses Lava Lamps to Encrypt the Internet

Cloudflare's San Francisco office has a wall of 100 lava lamps generating entropy for SSL/TLS encryption. Here's why computers can't be truly random.

Dev Kapoor·6 months ago·5 min read
A stylized penguin wearing a black jacket codes on a laptop in a futuristic server room filled with glowing equipment and…

Building a Virtual Machine From Scratch Takes Six Hours

A programmer documents building a 16-bit virtual machine in C with custom assembly language, revealing the actual complexity of low-level systems work.

Bob Reynolds·7 months ago·6 min read
Black background with white text "REACT IN" and yellow highlighted "TERMINALS" with arrow pointing to pixelated React logo…

OpenTUI Brings React Syntax to Terminal Apps via Zig

OpenTUI lets you build terminal UIs with React, Solid, or TypeScript on a Zig rendering core. Here's what it actually means for your next CLI project.

Tyler Nakamura·3 months ago·7 min read
A red and copper-toned iPhone 17 Pro displayed against a colorful blurred background with "BRUTALLY HONEST" text overlay…

iPhone 17 Pro Long-Term Review: Is It Worth $1,000?

Fernando from 9to5Mac has used the iPhone 17 Pro since launch. Here's what held up, what didn't, and whether you should actually spend $1,000+ on it.

Tyler Nakamura·3 months ago·9 min read

RAG·vector embedding

2026-04-15
798 tokens1536-dimmodel text-embedding-3-small

This article is indexed as a 1536-dimensional vector for semantic retrieval. Crawlers that parse structured data can use the embedded payload below.

Unpacking Dr. Birch's Unique AES Key Schedule | BuzzRAG