NODE e8ffbac2C-source for diffie-hellman?
Sameer <sameer@uclink.berkeley.edu>Sat, 20 Nov 93 19:52:10 PST
I was just talking with a friend, and I think it would be
pretty good for medium-level security on irc to hack up something do
that /dcc does diffie-hellman key exchange, and maybe triple-des or
something.
Is there some available C-source which would help? (I guess I
should get the Schneier book.. But urgh! $50 on a "starving-student"
budget is quite a bit.)
NODE 0695b21eRe: C-source for diffie-hellman?
Derek Atkins <warlord@MIT.EDU>Sat, 20 Nov 93 20:27:10 PST
RSAREF version 1.1 (and higher) has Diffie Helman key exchange in
it. I suggest you ftp this from rsa.com and try it.
-derek
Derek Atkins, SB '93 MIT EE, G MIT Media Laboratory
Secretary, MIT Student Information Processing Board (SIPB)
PGP key available from pgp-public-keys@pgp.mit.edu
warlord@MIT.EDU PP-ASEL N1NWH
NODE b4b807a7Re: <8c> C-source for diffie-hellman?
henry strickland <strick@osc.versant.com>Wed, 24 Nov 93 10:58:18 PST
# I was just talking with a friend, and I think it would be
# pretty good for medium-level security on irc to hack up something do
# that /dcc does diffie-hellman key exchange, and maybe triple-des or
# something.
# Is there some available C-source which would help? (I guess I
# should get the Schneier book.. But urgh! $50 on a "starving-student"
# budget is quite a bit.)
DH itself is a trivial algorithm. All you need is a decent
multiple precsion math package. I think all it takes is
-- random numbers
-- primality test
-- gcd
-- raise-to-power-modulo-some-number
There's lots of Multiple Precision libraries availble.
The Gnu 'gmp' is more than sufficient. Also des is very
easy to ftp. See the cypherpunks ftp site at
ftp://soda.berkeley.edu/pub/cypherpunks/
for pointers.
strick
BTW, schneier is literally a FAQ for cypherpunks.
Fantastic book. Cough up the money for it...