Everything2
Near Matches
Ignore Exact
Full Text
Everything2

RSA in 3 lines of perl

created by Cid Highwind

(thing) by Cid Highwind (3.3 y) (print)   ?   (I like it!) 3 C!s Thu Apr 27 2000 at 15:11:05

Common .signature file for people who oppose the idiotic restrictions on cryptography imposed by the United States government.
The magic script is unreadable to any but the most advanced perl guru, but it does work.

!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)

(thing) by ymelup (2.1 y) (print)   ?   (I like it!) Sun Nov 26 2000 at 10:24:02

This 3-line script is also famous for having been printed on the front of a t-shirt. I believe the gentleman behind it was Joel Furr. On the shirt, it showed the above three lines, together with a barcode version, and clear statement that the t-shirt was classed as a munitions and hence could not be taken outside the United States.

The back of the t-shirt featured parts of the United States Constitution (if I remember correctly, it was the first amendment), with a big VOID stamp on the back.

The shirt caused quite a furore; Joel Furr was actually arrested and faced court for printing and selling the shirts. I believe that this occurred in 1996.


printable version
chaos

Joel Furr Everything is a perl script RSA Just another perl hacker
unreadable code The language of a terrified idiot The *REAL* Obfuscated Perl C vs. Perl
deCSS .signature Pigpen Cipher :CueCat
Giving Your Cat a Pill (and your little dog, too!) Cryptography obfuscated perl Perl
optimizing compiler munitions Furore voodoo programming
polymer clay perl monks Hey Man, Nice Shot quantum computer
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Things you could have written:
The Wild Bunch
Theodore Roethke
Tesla coil
December 6, 2006
You'll never work in dis bidness again
Sysadmin cool
I was a homeless bum
polyandry
Every new technology has been endowed with the potential to transform society
Nebuchadnezzar
Enron and the Cult of Personality
Pius IX
Porpoise
New Writeups
octillion369
Undead(idea)
archiewood
Ico(fiction)
Heisenberg
Why I love Everything2(log)
octillion369
Death Knight(person)
XWiz
Are you hoping for a miracle?(review)
santo
The Host(review)
LostPsion
"Shut the Fuck Up" Theaters(idea)
Vanish
The line between normal and not(place)
Vanish
insanity(thing)
beatrice
You've been slowly taking me over for nearly a year, do you know that?(idea)
Berek
YouTube(thing)
shaogo
How to Pretend to Have a Job(idea)
hapax
Les Provinciales(review)
zoeb
The Scene(review)
aneurin
Telephone Numbers for drama purposes(idea)
E2 is a by-product of the existence of The Everything Development Company