Bernstein v. United States. Bernstein v. United States was a series of court cases filed by Daniel J. Bernstein, a mathematics Ph.D. student at the University of California, Berkeley, challenging U.S. government restrictions on the export of cryptographic software. In the early 1990s, the U.S. government classified encryption software as a "munition," imposing strict export controls. As a result, Bernstein was required to register as an arms dealer and obtain an export license before he could publish his encryption software online.

With the support of the Electronic Frontier Foundation (EFF), Bernstein filed a lawsuit against the U.S. government, arguing that the export controls violated his First Amendment rights. The case ultimately led to a relaxation of export restrictions on cryptography, which facilitated the development of secure international e-commerce. The decision has been recognized by First Amendment and technology advocacy groups for affirming a "right to code" and applying First Amendment protections to code as a form of expression.

History
The case was first brought in 1995, when Bernstein was a student at University of California, Berkeley, and wanted to publish a paper and associated source code on his Snuffle encryption system. Bernstein was represented by the Electronic Frontier Foundation, who hired outside lawyer Cindy Cohn and also obtained pro bono publico assistance from Lee Tien of Berkeley; M. Edward Ross of the San Francisco law firm of Steefel, Levitt & Weiss; James Wheaton and Elizabeth Pritzker of the First Amendment Project in Oakland; and Robert Corn-Revere, Julia Kogan, and Jeremy Miller of the Washington, DC, law firm of Hogan & Hartson. After four years and one regulatory change, the Ninth Circuit Court of Appeals ruled that software source code was speech protected by the First Amendment and that the government's regulations preventing its publication were unconstitutional.  Regarding those regulations, the EFF states:

The government requested en banc review. In Bernstein v. U.S. Dept. of Justice, 192 F.3d 1308 (9th Cir. 1999), the Ninth Circuit ordered that this case be reheard by the en banc court, and withdrew the three-judge panel opinion, Bernstein v. U.S. Dept. of Justice, 176 F.3d 1132 (9th Cir. 1999).

The government modified the regulations again, substantially loosening them, and Bernstein, then a professor at the University of Illinois at Chicago, challenged them again. This time, he chose to represent himself, although he had no formal legal training. On October 15, 2003, almost nine years after Bernstein first brought the case, the judge dismissed it and asked Bernstein to come back when the government made a "concrete threat".

Recent 
Apple cited Bernstein v. US in its refusal to hack the San Bernardino shooter's iPhone, saying that they could not be compelled to "speak" (write code).

See also

 Junger v. Daley
 PGP criminal investigation

References

External links
 Bernstein v. United States
 EPIC Archive of 9th Circuit Decision
 EFF Archive of the Cases
 

Cryptography case law
United States Internet case law
Electronic Frontier Foundation litigation
1996 in United States case law
1997 in United States case law
United States Court of Appeals for the Ninth Circuit cases
United States District Court for the Northern District of California cases