Re[2]: P2P in 15 lines

2004-12-16 Thread Karsten Sperling
On Thursday, December 16, 2004, Brad Greenlee wrote: The original python version never actually sends the password in any form; I believe it just uses it to hash the server url, which gets passed as a parameter. The server then just hashes its own url with its password to see if they match.

Re: P2P in 15 lines

2004-12-16 Thread Yitzchak Scott-Thoennes
On Thu, Dec 16, 2004 at 08:08:11AM -0800, Brad Greenlee wrote: That or someone with sufficient power could make Digest::MD5 or ::SHA1 part of the standard perl distro :-). Digest and Digest::MD5 are in 5.8.0.

Re: P2P in 15 lines

2004-12-16 Thread Brad Greenlee
Doh! Somebody beat me to it. Didn't use IO::Socket either: http://developers.slashdot.org/article.pl?sid=04/12/15/1953227tid=95tid=156tid=1 -b Sven Neuhaus wrote: Can we beat them (in perl)? http://www.freedom-to-tinker.com/tinyp2p.html