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.

Industry City | Brooklyn, NY

TUES - THURS, JUNE 24 - 26, 2025

Permissionless IV serves as the definitive gathering for crypto’s technical founders, developers, and builders to come together and create the future.If you’re ready to shape the future of crypto, Permissionless IV is where it happens.

Brooklyn, NY

SUN - MON, JUN. 22 - 23, 2025

Blockworks and Cracked Labs are teaming up for the third installment of the Permissionless Hackathon, happening June 22–23, 2025 in Brooklyn, NY. This is a 36-hour IRL builder sprint where developers, designers, and creatives ship real projects solving real problems across […]

recent research

Research Report Templates (19).png

Research

Suilend has grown into the top money market and liquid staking provider on Sui. STEAMM, Suilend’s Superfluid AMM, presents a compelling avenue for growing market share within Sui’s DEX landscape and revenue generation for the protocol. Suilend’s multi-product suite position it well for owning market share across key verticals. While current metrics across the Sui ecosystem are likely inflated due to Sui Foundation incentive programs, SEND trades at amongst the lowest multiples in the lend/borrow sector, suggesting that a bull case for continued growth in the ecosystem may be mispriced.

article-image

Decentralized money was a “very unpopular goal” when concepts were proposed in the ’90s, said Nick Szabo

article-image

Cove aims to deliver “risk-adjusted yield” through curated DeFi vaults

article-image

The best capital markets are open to the most people — and crypto capital markets are open to everyone

article-image

Post-conference musings on Firedancer, Kraken, Solana Mobile and Trump

article-image

Executives expect others to follow SharpLink Gaming’s lead in purchasing an asset that has surged this past month

article-image

After a weekend of tariff policy shifts, investors appear confident that trade deals are underway