Code is speech: How computer source code secured First Amendment rights

In 1999, Daniel Bernstein fought for code to be protected, just like free speech

article-image

Dan Bernstein | Alexander Klink/"Dan Bernstein 27C3″ (CC license), modified by Blockworks

share

This is a segment from the Supply Shock newsletter. To read full editions, subscribe.


Painters paint, sculptors sculpt and cryptographers code.

For millennia, creators have fought to express themselves through their chosen media. 

Around the year 430 BC, Greek sculptor Phidias is famously said to have died in prison after being charged with impiety due to his art (with a side of treacherous politics).

Phidias had sculpted himself and statesman Pericles onto the shield of Athena on the Athena Parthenos, an unforgivable act of hubris in front of the gods.

Nearly two and a half thousand years later, cryptographer Daniel Bernstein fought the US government over his constitutional right to express himself through code — and won.

On This Day: Code Is Speech

Twenty-six years ago today, Judge Marilyn Patel ruled that computer code should be considered speech and thus protected under the First Amendment, even if that code represented powerful encryption technology.

Bernstein had sued the US State Department and subsequently the Department of Commerce in what Judge Patel later described as “part political expression.”

As we touched on in a retrospective last week, the US government at the time classed cryptographic tools with a key size larger than 40 bits as weapons.

This meant anyone seeking to publish or otherwise make cryptography software available outside the US had to register as an arms dealer — including doctoral candidates studying mathematics at UC Berkeley, like Bernstein.

So, when Bernstein approached the State Department about publishing the source code, instructions and academic paper describing a new encryption method called Snuffle, authorities labeled the work a “munition” under the International Traffic in Arms Regulations. 

But the imposition of any licensing regime on code — the medium through which cryptographers express their ideas, thoughts and theories — was unconstitutional, in Bernstein’s view. The Electronic Frontier Foundation (EFF) then sponsored his lawsuit, in what was its second major case after the Steve Jackson Games in the early ‘90s.

Long before Bitcoin, Adam Back protested the US government’s classification of RSA encryption as munition with this cool shirt.

Courts sided with Bernstein and the EFF in a landmark decision about a year later, ruling that the government must protect cryptographers’ freedom to code. It’s their language. 

The case paved the way for strong encryption to be readily applied to e-commerce and all manner of private enterprise, thanks in no small part to the forward-thinking Judge Patel. 

Patel wrote: “By utilizing source code, a cryptographer can express algorithmic ideas with precision and methodological rigor that is otherwise difficult to achieve… The need for precisely articulated hypotheses and formal empirical testing, of course, is not unique to the science of cryptography; it appears, however, that in this field, source code is the preferred means to these ends.”

It’s clear that without the Bernstein ruling, the development and release of Bitcoin might have been seriously slowed. After all, Satoshi (if they were in the US) would’ve needed to acquire a license to share Bitcoin source code, immediately doxxing them with the government. How convenient!

Luckily, Bernstein chose to fight.


Get the news in your inbox. Explore Blockworks newsletters:

Tags

Decoding crypto and the markets. Daily, with Byron Gilliam.

Upcoming Events

Javits Center North | 445 11th Ave

Tues - Thurs, March 24 - 26, 2026

Blockworks’ Digital Asset Summit (DAS) will feature conversations between the builders, allocators, and legislators who will shape the trajectory of the digital asset ecosystem in the US and abroad.

recent research

Flying_Tulip.png

Research

Flying Tulip's perpetual put option provides real principal protection, but investors must pay a valuation premium today for products that have to be built over the next 24 months. This structure works best as a stablecoin substitute where the put allows continuous monitoring—accept opportunity cost in exchange for asymmetric upside if the team executes on its ambitious cross-collateral architecture.

article-image

As flows consolidate and volatility fades, finding edge now means knowing which games are still worth playing

article-image

Value distribution came to $1.9 billion distributed in Q3, though total revenues have yet to beat 2021 heights

article-image

MegaETH public sale auction ends tomorrow, and the free money machine has attracted people who like free money

article-image

With tBTC under the hood, Acre abstracts bridging and converts non-BTC rewards to bitcoin

article-image

Accountable is also eyeing mid-November for mainnet launch

article-image

“Adjusted for size, I think it may be the most successful ETP launch of all time,” Bitwise CIO Matt Hougan says