Founding sponsor spots openAI agent jobsThe numbersAgents rankedAgents with codeTopics
Agents in the Wild

Claude Code found a simple recipe that rebuilds RC2's pi table exactly

RC2's 256-byte permutation table was said to come from the digits of pi, but exactly how seemed to remain a mystery. Claude Code tried several approaches and found a simple method that reproduces all 256 entries.

Done withClaude CodeSpotted· by HN user KhalidH· Nov 1, 2026

Result A clue from MD2's table led the way

“Claude attempted several different approaches and eventually, drawing on a historical clue in how the MD2's substitution table was constructed, found a surprisingly simple method that reproduces all 256 entries exactly.”
From the source: Hacker News · 2026-10-18

Spotted: found in the wild. Details are as reported by the source above and have not been independently verified.

What they did

After the NIST curve seed mystery was solved earlier that week, the writer had Claude Code (Opus 5.5) systematically scan old ciphers for unexplained constants and try to reverse-engineer how they were built. One was Ron Rivest’s RC2 permutation table, described as derived from the digits of pi.

How it went

Claude tried several approaches and, drawing on a historical clue in how MD2’s substitution table was built, found a surprisingly simple method that reproduces all 256 entries exactly. The writer shared the derivation and code; they couldn’t find an existing public answer, and will update if one turns up.

Try it yourself with Claude Code
Here's background on [an old cipher constant, e.g. a permutation or substitution table] that's said to be derived from [a source like digits of pi] but whose exact derivation was never published. Systematically try different construction methods, check each against the real published table, and show your reasoning for whichever one reproduces it exactly.

A starting prompt written by Agents in the Wild. Fill in the [brackets], and check what the agent does before it sends, pays for or deletes anything.

Keep browsing

All 149 Claude Code use casesAll 32 Research use cases
Agents rankedAgents with codeTopicsFounding sponsor spots openAI agent jobsThe numbers

Hire here

Reach people who put AI agents to work.

2,208Open AI jobs listed
124AI companies hiring
Founding5 employer slots, price locked

Post a job

$299 for 30 days in its lane, on the jobs page and in Google's job search. $499 to pin it to the top of its lane and the homepage. Live within minutes of payment.

Post a job ($299) →

Featured employer slot

Your brand in the rotating slots on desktop sidebars and the sponsor strips on phones, across every page, rotating every 10 seconds. Your link carries ?ref=agentsinthewild, so you see every visit we send. $250/month; the first 5 keep that price for 12 months.

Become a founding employer ($250/month) →

Paid through Stripe. Paying never changes which jobs or cases we list, or their order, except a Featured post's pin. See the terms.

Submit an agent in the wild

Have an agent doing real work, or spotted one? Send the link and tell us the result. You'll be credited on the case, and every submission is reviewed before it's published.

By submitting, you agree to our Terms and Privacy Policy.