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

Research Report Templates (5).png

Research

ERC 8004 introduces a new trust layer for AI agents by standardizing onchain identity, reputation, and validation. As agents begin handling capital and coordinating autonomously, trust becomes the key constraint to broader adoption. The rollout mirrors the early x402 narrative, where adoption lagged the initial launch until major integrations and a viral use case pulled attention into the ecosystem. If ERC 8004 follows a similar path, downstream infrastructure tied to the standard could see outsized benefit as the narrative gains traction. The primary beneficiaries are likely to be agent frameworks and launchpads at the distribution layer, agent to agent coordination platforms that enable delegation and payments, and validation providers that offer stronger security and execution guarantees.

article-image

BTC finished the week up 1.6%, while L2s, RWAs and the treasury trade continued to grind lower

article-image

DTCC moves DTC-custodied Treasuries onchain via Canton, while Lighter’s LIT launches trading at a fees multiple in Hyperliquid territory

article-image

In the 90s, rapt audiences worldwide watched a coffee pot — will that fascination ever turn to crypto?

article-image

Some systems improve by failing — and crypto has no choice

article-image

Yield Basis introduces an IL-free AMM design that already dominates BTC DEX liquidity

article-image

Maybe tokenholders don’t need the rights that corporate shareholders have come to expect

Newsletter

The Breakdown

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

Blockworks Research

Unlock crypto's most powerful research platform.

Our research packs a punch and gives you actionable takeaways for each topic.

SubscribeGet in touch

Blockworks Inc.

133 W 19th St., New York, NY 10011

Blockworks Network

NewsPodcastsNewslettersEventsRoundtablesAnalytics