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

Old Billingsgate

Mon - Wed, October 13 - 15, 2025

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

Research Report Templates (20).png

Research

The dynamic between Ethena, Pendle and Aave exhibits a mutually-beneficial relationship, where the offerings of each business grows the top lines of every party in this exchange. Pendle sits at the intersection of YBA issuers (Ethena) and money markets (Aave), demonstrating heightened utilization rates of YBAs, where the PTs then exhibit profound utilization as collateral. YBA issuers see Pendle as a premier go-to-market venue, often underwriting incentives for liquidity on the market and solving for Pendle’s supply side, while money markets view PTs as attractive collateral types to lend against, solving for Pendle’s demand side. PTs represent a highly profitable collateral listing for Aave, with depositors maxing out the available borrow capacity. Pendle’s recent launch of Boros may now present the most material growth vector beyond what is currently exhibited on V2 markets, offering the ability to price yield, spreads, and duration risk across various points in time out into the future.

article-image

If fear moves markets, there could be more all-time highs to come

article-image

Ether-focused BitMine Immersion saw its daily trading volumes surge this week

article-image

From Ronin’s classic L2 pivot to Taiko’s based rollup and Puffer’s ultra-low-latency appchain testnet, Ethereum-aligned architectures are multiplying

article-image

The Gemini Wallet and Onchain hub are great for total beginners, but have a lot of room to grow

article-image

Airlines defend their rewards moat, Binance courts favor over breakfast, DAT fees pile up and systematic thinking