The NSA Is Misusing Mathematics for Dangerous Ends

The state of the universe.
Sept. 30 2013 12:42 PM

The Perils of Hacking Math

The National Security Agency is undermining fundamental principles of mathematical knowledge.

NSA cryptography.
The time-honored principle of freedom of mathematical information is now being compromised.

Photo by Kerem Yucel/iStock/Thinkstock

Recently, I co-authored and published a math paper that solved a 15-year-old mystery. But, unlike a book or a gadget, the work cannot be copyrighted or bought and sold. In fact, my co-author and I have made our paper available for free, for the whole world to see, on arXiv, an online depository of scientific articles. This inherent democracy has always been the mark of mathematics: It belongs to us all, even if people are not aware of it. Mathematicians don't expect to be paid for their discoveries; we do math because we want to understand how the world works.

This principle has deep roots in history as well as in legal systems. No one can own mathematical knowledge; no one can claim ownership of a mathematical formula or idea as a personal possession. Though he discovered it, Albert Einstein couldn't patent his famous formula E=mc2. In the landmark Gottschalk v. Benson decision, the U.S. Supreme Court concluded:

A scientific truth, or the mathematical expression of it, is not a patentable invention. ... A principle, in the abstract, is a fundamental truth; an original cause; a motive; these cannot be patented, as no one can claim in either of them an exclusive right. ... He who discovers a hitherto unknown phenomenon of nature has no claim to a monopoly of it which the law recognizes.
Advertisement

Unfortunately, this time-honored and essential principle of freedom of mathematical information is now being compromised. According to published reports, the National Security Agency has attempted to undermine mathematical formulas used in widely used encryption systems. They did it both by using advances made in secret by mathematicians on their payroll and by intentionally subverting commonly used security protocols by installing "backdoors" that make these protocols easier to break.

The legality and broad implications of the NSA large-sale surveillance have already been discussed at great length. My point here, however, is that tampering with mathematics is by itself a dangerous precedent that raises a host of legal and ethical issues.

We should be especially alarmed by the reported attempts by the NSA to intentionally undermine cryptosystems. In a nutshell, to ensure that a third party can't read your email message, credit-card number, or password, communications sent over the Internet are encrypted. Many cryptosystems are based on sophisticated mathematical objects called "elliptic curves" (these are discussed in my new book Love and Math: The Heart of Hidden Reality). There are plenty of elliptic curves to choose from. A cryptosystem based on a random one is virtually impregnable and hence protects our privacy. But it turns out that there are some elliptic curves that look random but actually allow for easy decryption; that's an example of a backdoor. It's a nontrivial mathematical problem to generate such curves (equipped with some extra data), but it can be done. And according to the reports, the NSA has been pushing the National Institute of Standards and Technology, the body that sets encryption standards in the United States, and various vendors to adopt such special elliptic curves since as early as 2006, knowing full well that they were prone to attacks. After these allegations came to light, encryption company RSA Security issued an unprecedented advisory noting that one of its widely used toolkits is based on the compromised algorithm and advising clients to stop using it.

130927_SCI_LoveMathCover

Courtesy of Basic Books

Secrecy in cryptography is nothing new. We remember Bletchley Park, where mathematicians such as Alan Turing, working in secret, were able to decode German communications during World War II. But what’s different now is the ubiquity of the security protocols that are being compromised. Encryption is now woven in the very fabric of our daily lives. That’s why creation of secret means for breaking commonly used cryptosystems by the government is so troubling.

Furthermore, by secretly installing backdoors into these systems, the NSA makes all of us more vulnerable to outside attacks. If these backdoors allow the NSA to easily break these systems, what's to stop other players from maliciously doing the same? They may steal this information from the NSA or a rogue on the inside may disclose or sell it. Besides, others may discover these backdoors on their own.

Mathematics is a great equalizer. A young man from India named Srinivasa Ramanujan received no formal training but in the early 20th century was able to make dazzling mathematical discoveries that stumped professional mathematicians. For a more recent example, consider this: In 1973, three mathematicians working for the U.K.’s Government Communications Headquarters discovered a new method of encryption. Their discovery was kept secret by GCHQ, but shortly afterward two other mathematicians rediscovered the same thing and published their result (now called Diffie-Hellman key exchange in their honor).

Who's to say that the sophisticated math the NSA has been keeping secret from the rest of the world will not be discovered by someone else?

You can hide a formula, but you can't prevent others from finding it. One might only need a pencil and a piece of paper to do that. And once the secret is out in the open, it’s not just Big Brother that will be watching us—other “brothers” will be spying on us, intercepting our messages, and hacking our bank accounts.

We live in a new era in which mathematics has become a powerful weapon. It can be used for good—we all benefit from technological advances based on math—but also for ill. When the nuclear bomb was built, theoretical physicists who had inadvertently contributed to creating something monstrous were forced to confront deep ethical questions. What is happening now with mathematics may have similarly grave implications. Members of my community must initiate a serious discussion about our role in this brave new world. We need to find mechanisms to protect the freedom of mathematical knowledge that we love and cherish. And we have to help the public understand both the awesome power of math and the serious consequences that await all of us if that power is misused.

TODAY IN SLATE

Jurisprudence

Scalia’s Liberal Streak

The conservative justice’s most brilliant—and surprisingly progressive—moments on the bench.

Scotland Votes to Remain in U.K.

There’s a Way to Keep Ex-Cons Out of Prison That Pays for Itself. Why Don’t More States Use It?

The Music Industry Is Ignoring Some of the Best Black Women Singing R&B

Can Democrats Keep Counting on Republicans to Offend Women as a Campaign Strategy?

Culturebox

Theo’s Joint and Vanessa’s Whiskey

No sitcom did the “Very Special Episode” as well as The Cosby Show.

Television

The Other Huxtable Effect

Thirty years ago, The Cosby Show gave us one of TV’s great feminists.

Cliff Huxtable Explains the World: Five Lessons From TV’s Greatest Dad

Why Television Needs a New Cosby Show Right Now

  News & Politics
Weigel
Sept. 18 2014 8:20 PM A Clever Attempt at Explaining Away a Vote Against the Farm Bill
  Business
Moneybox
Sept. 18 2014 6:02 PM A Chinese Company Just Announced the Biggest IPO in U.S. History
  Life
The Slate Quiz
Sept. 18 2014 11:44 PM Play the Slate News Quiz With Jeopardy! superchampion Ken Jennings.
  Double X
Doublex
Sept. 18 2014 8:07 PM Crying Rape False rape accusations exist, and they are a serious problem.
  Slate Plus
Behind the Scenes
Sept. 18 2014 1:23 PM “It’s Not Every Day That You Can Beat the World Champion” An exclusive interview with chess grandmaster Fabiano Caruana.
  Arts
Brow Beat
Sept. 18 2014 4:33 PM The Top 5 Dadsplaining Moments From The Cosby Show
  Technology
Future Tense
Sept. 18 2014 6:48 PM By 2100 the World's Population Could Be 11 Billion
  Health & Science
Science
Sept. 18 2014 3:35 PM Do People Still Die of Rabies? And how do you know if an animal is rabid?
  Sports
Sports Nut
Sept. 18 2014 11:42 AM Grandmaster Clash One of the most amazing feats in chess history just happened, and no one noticed.