# The π table at the heart of RC2 has finally been cracked

Original title: How RC2's π table was made

> Hacker News story 50146286 · language: en · submitted 2026-10-18
> Web version: https://zeli.app/story/50146286
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 5 · by [KhalidH](<https://news.ycombinator.com/user?id=KhalidH>) · 💬 1
[original](<https://khalidhamadeh.com/writing/rc2-pi-table>) · [HN discussion](<https://news.ycombinator.com/item?id=50146286>)

## Summary

RFC 2268 says RC2's 256-byte PITABLE comes from the digits of π but never explains how. A researcher shows that a Fisher–Yates shuffle, drawing exactly three decimal digits of π per swap and discarding biased draws, reproduces the table in all 256 positions. The RFC's unexplained second table falls out of the same generator started four digits later. The finding has no bearing on RC2's security.

## Key quote

> How can you tell whether the permutation is based on some sequence of digits from PI?

---

## Cite

- Page: https://zeli.app/story/50146286
- Date: 2026-10-18
- Source: khalidhamadeh.com (https://khalidhamadeh.com/writing/rc2-pi-table)
- Hacker News: https://news.ycombinator.com/item?id=50146286

## Other languages

- ja: https://zeli.app/ja/story/50146286 · markdown: https://zeli.app/ja/story/50146286.md
- ko: https://zeli.app/ko/story/50146286 · markdown: https://zeli.app/ko/story/50146286.md
- de: https://zeli.app/de/story/50146286 · markdown: https://zeli.app/de/story/50146286.md
