A Sound of Thunder

Ray Bradbury — 1952

The key text behind the Beale Cipher 3 animation

Time Travel Butterfly Effect Beale Key-Text
What is a Beale cipher? Each word in a chosen "key text" is numbered sequentially from 1. To encode a letter, you pick any word whose first letter matches — and write down that word's number. The decoder needs the same key text to reverse it. The cipher is named for Thomas J. Beale, who allegedly used this technique to hide the location of buried treasure in 1820s Virginia.

"A Sound of Thunder" was chosen as the key text because its central theme — a single butterfly's death rippling across sixty million years to change a presidential election — is a perfect metaphor for the cipher itself: tiny numbers encode vast ideas; the slightest change corrupts everything. Read the story once and you'll never forget the phrase butterfly effect.

TNT Novice Austin W. added a theological perspective about Chaos Theory with the help of Claude Opus 4.5. Be sure to read it!

Try the Cipher → How the animation works →

Key-Text Index

Below is the one-to-one correspondence between each letter of the alphabet and every word position in the story whose first letter matches. When encoding the letter T, for example, the cipher picks any number from the T list — so the same plaintext letter produces a different cipher number every time, preventing frequency analysis.

Loading key-text index…

A Sound of Thunder

Ray Bradbury • Originally published in Collier's Weekly, 1952


Loading story…

Ready to try the cipher?

Use this story as your key text and encode your own secret message in Beale Cipher 3.

Open Beale Cipher 3 How the Algorithm Works