BIO-MUNITION: gifs of perl-RSA tattoo

aba at atlas.ex.ac.uk aba at atlas.ex.ac.uk
Mon Dec 18 04:15:09 PST 1995



Richard Sheffar <rick at net.muskoka> writes on cpunks:
> Okay, I admit it I don't know everything.
> What does the perl script actually do.

It does RSA encrypt/decrypt, works with keys up to 1024 bits (and
larger).

> I saved to file, chmod 777 perly
> tried running the script and kept getting error line 3.

You need two utils installed on your machine: perl and dc.  Not having
dc would cause an error on line 3.  Try getting gnu dc (bc-1.03.tar.gz
from gnu sites, see:

	http://www.dcs.ex.ac.uk/~aba/rsa/dc.html
)

> What does it do, does it encrypt a file or what. What Have i done wrong?

To encrypt:

	rsa -k=11 -n=ca1 < plaintext > ciphertext
	
to decrypt:

	rsa -d -k=ac1 -n=ca1 < ciphertext > out

you can extract pgp keys to use with it, that was a 32 bit key for
demonstrational purposes and offers no security.  See:

	http://www.dcs.ex.ac.uk/~aba/rsa/pgpacket.html

for extracting pgp keys in hex format.

Adam







More information about the cypherpunks-legacy mailing list