On Fri, Apr 21, 2000 at 08:42:08AM -0700, Lee Daniel Crocker wrote:
> 
> While I am still thinking about the utility of "searching", and
> all of us are still imagining uses to which Freenet can be put and
> what clients might be built for it, I think the following facts
> are undeniable, and should be acted upon:
> 
> (1) SOME application of Freenet will require a CHK mechanism,
>     and there is no similar mechanism with the same properties.
> 

I fully agree. I hope (expect?) all hyperlinks to be in to a CHK. Other systems
should be built on top of this.

> (2) SOME application of Freenet will require an SVK mechanism,
>     and while there may be similar systems with the same properties,
>     none can be simpler.

Well, there is a need for a system(s) that handles
1) Guessable keys
  1a) Spam
  1b) Valid clashes
2) Updating

> Therefore, I think that regardless of debate on anything else,
> these two features must be implemented and spec'd.  For CHKs, I
> propose that the header field "SearchKey.ContentHash" be used in
> the same manner as SearchKey now, but a node that stores data
> should validate the hash.  Likewise, "SearchKey.Signature" can
> be used for SVKs.

Fine. I've just done a *very* quick and dirty test:
I can do an MD5 sum of 100MB of random data in just over 3 secs on a PII-450

> (As long as we're in the mood to change things--I'm not very
> happy with "SearchKey" either: should be "PrimaryKey", but I'm
> happy to leave that alone if I'm the only one bothered by it).

I don't really see that it matters - but pipe the sources thru sed if you want;)

> 
> So the decisions to be made: what algorithms to use,

For the hash it depends on how pained people are about the speed of MD5. If we
really want the speed then MD4 is quicker (but less secure)


> the keys encoded, 

lower-case hex encoding works fine

AGL

-- 
Smoking is one of the leading causes of statistics.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20000421/6ecde093/attachment.pgp>

Reply via email to