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

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

Unlocked by Template (7).png

Research

Union’s improvements upon Tendermint consensus through CometBLS, coupled with ZK proving through Galois, allow for a broadly scalable, cost efficient, and low latency IBC implementation that is feasibly scalable across every existing blockchain, virtual machine and runtime. The implementation offers modular crosschain interoperability without the need for trusted intermediaries.  

article-image

US crypto iOS apps can link to external NFT shops

article-image

The famed billionaire investor had harsh words for Bitcoin seven years ago

article-image

Ripple is eyeing ways to boost its financial profile, on top of social usefulness

article-image

Hal Finney joined the Bitcoin network in its first seven days

article-image

Bill Gates expects that within a decade, humans will no longer be needed “for most things”

article-image

A newly submitted SEC pilot proposal aims to tokenize US equities