They Said It Was Impossible. She Cracked It in One Afternoon
As summer faded into autumn in 1940, a chilling reality loomed over American intelligence officers: they were utterly blind to Japan’s intentions. For a year and a half, the nation’s brightest cryptographers had grappled with an encryption system deemed mathematically invincible. Known as “Purple,” this cipher was a sophisticated tool used by Japanese diplomats to transmit their most sensitive communications, coordinating strategies with Axis powers and maintaining diplomatic relations with Washington. The stakes were high, and the pressure was mounting.
But on a sweltering September afternoon, everything changed. A young woman named Genevieve Grotjan, who had been calculating railroad retirement benefits just a year earlier, would soon alter the course of history with a breakthrough that seemed impossible.

A World on the Brink
By 1940, the world was teetering on the brink of disaster. Hitler’s Germany had annexed Austria and Czechoslovakia, while Mussolini’s forces wreaked havoc across Africa. In the Pacific, Japan was conducting a brutal campaign in China, committing atrocities that shocked the international community. The League of Nations had crumbled, and the specter of war loomed large over the globe.
For American strategists, Japan presented a particularly puzzling threat. Military leaders understood that a confrontation in the Pacific was imminent, yet they lacked insight into Japanese strategic thinking. What were Tokyo’s ultimate goals? What instructions were being relayed to ambassadors in Berlin and Rome? Would Japan strike northward against Soviet territory or southward toward resource-rich European colonies? These questions carried life-or-death implications for millions of American service members.
The Japanese understood that communication security was vital to their strategic advantage. Surprise formed the cornerstone of their military philosophy, and if Washington could anticipate Tokyo’s moves, that crucial edge would evaporate.
The Enigma of Purple
In February 1939, Japan’s foreign ministry deployed a revolutionary cipher device for its most sensitive diplomatic transmissions. Inspired by Germany’s Enigma machine, Japan’s engineers created the Type B cipher machine, a mechanical marvel that surpassed anything previously seen. The Americans labeled it “Purple,” a name derived from the color of the folders used to organize intercepted communications.
Purple was a masterwork of encryption engineering. Unlike the Enigma’s rotating wheels, Purple utilized telephone stepping switches, a technology that made it extraordinarily complex. Messages typed into the machine traveled through several layers of electrical switching, scrambling letters into a seemingly random jumble. The potential combinations reached into the billions, rendering attempts to crack the code through sheer trial and error futile.
For 18 grueling months, American cryptanalysts struggled against Purple. They intercepted thousands of messages, yet every attempt to decipher them ended in failure. The Japanese believed their code was unbreakable, and for a time, they were right.
Enter Genevieve Grotjan
Genevieve Marie Grotjan was born on April 30, 1913, in Buffalo, New York. The daughter of German immigrants, she exhibited a remarkable aptitude for mathematics from an early age. While her peers struggled with algebra, Genevieve found joy in numbers, perceiving relationships and patterns that eluded others. She graduated with honors from the University of Buffalo, aiming to inspire young minds as a mathematics teacher.
However, the Great Depression thwarted her aspirations. Despite her exceptional qualifications, Genevieve faced rejection after rejection. Schools were closing, and teaching positions were scarce. In need of income, she accepted a position as a statistical clerk at the Railroad Retirement Board, where she calculated pension benefits instead of teaching.
Yet, her fortunes changed when she took a standardized civil service examination. Her remarkable scores caught the attention of William Freriedman, the head of the Signal Intelligence Service. Freriedman was searching for talented individuals to join his team, and Genevieve’s mathematical prowess made her an ideal candidate.
The Challenge of Purple
In 1939, Genevieve joined the Signal Intelligence Service, a clandestine organization dedicated to breaking foreign codes. The work was classified, and employees were sworn to secrecy. Genevieve quickly learned that the team had been struggling to crack Purple, which had become a formidable barrier to understanding Japanese communications.
As war loomed, the urgency to break the code intensified. Genevieve immersed herself in the study of cryptanalysis, learning from Freriedman and her colleagues. They dissected intercepted messages, looking for patterns and trying to understand the complex mechanics of Purple. The work was tedious and often disheartening, but Genevieve’s determination never wavered.
The Breakthrough
On September 20, 1940, Genevieve sat at her desk, surrounded by worksheets filled with seemingly meaningless letter sequences. After months of painstaking analysis, she spotted something—a subtle pattern woven into the chaos. It was a breakthrough that would change everything.
Genevieve rushed to share her discovery with her colleagues. As she laid out her findings, excitement filled the room. What she had uncovered was the key to understanding the 20-letter group of the Purple cipher. Her insight would lead to the construction of a working replica of the Japanese machine, allowing American analysts to routinely decrypt Japanese diplomatic communications.
In a matter of weeks, the United States could read Tokyo’s most protected secrets, gaining invaluable intelligence that would shape military strategies and save countless lives.
The Impact of Genevieve’s Work
The implications of Genevieve’s breakthrough were profound. With the ability to read Japanese communications, American intelligence gained insights into Japan’s military strategies and diplomatic maneuvers. The intelligence produced through this work, known as “Magic,” became crucial in the lead-up to the war and throughout its course.
As the conflict escalated, Genevieve’s contributions proved invaluable. The intelligence derived from Purple allowed American military leaders to anticipate Japanese moves, ultimately shaping the outcome of battles in the Pacific. Her work directly influenced critical decisions made by American commanders, saving lives and altering the course of history.
A Legacy of Silence
Despite her monumental achievements, Genevieve remained largely unknown to the public. The secrecy surrounding her work meant that she could not share her experiences or accomplishments with friends or family. She continued to work diligently, contributing to the war effort while remaining in the shadows.
After the war, Genevieve transitioned to a quieter life, marrying Hyman Feinstein, a chemist working on the Manhattan Project. They built a life together, but Genevieve’s extraordinary contributions to the war remained hidden, overshadowed by the more publicized efforts of others.
Recognition at Last
It wasn’t until decades later that Genevieve’s story began to emerge from the shadows. As historians and researchers delved into the history of World War II intelligence, they uncovered the crucial role she played in breaking the Purple cipher. In 2011, Genevieve was posthumously inducted into the National Cryptologic Museum Hall of Honor, recognizing her as a pivotal figure in American intelligence history.
Her legacy serves as a reminder of the importance of recognizing talent in unexpected places. Genevieve Grotjan’s story demonstrates that brilliance can emerge from anywhere, and that the contributions of women in wartime efforts are often overlooked but are essential to understanding the full scope of history.
Conclusion: A Lasting Impact
Genevieve Grotjan’s journey from a railroad clerk to a celebrated cryptanalyst is a testament to the power of perseverance, intellect, and the human spirit. Her ability to see patterns where others saw chaos not only changed the course of a war but also paved the way for future generations of mathematicians and cryptographers.
In a world that often overlooks the contributions of women, Genevieve’s story stands as a beacon of hope and inspiration. It reminds us that greatness can arise from the most unexpected circumstances and that the pursuit of knowledge and understanding can lead to extraordinary outcomes.
As we reflect on the lessons of history, let us honor the unsung heroes like Genevieve Grotjan, whose remarkable achievements continue to resonate through the ages, shaping our understanding of intelligence, warfare, and the human capacity for resilience.