Just a correction/deconfusion: In the protocol the key is just an array of bytes encoded in hex.
On Sat, 05 Aug 2000, Brandon wrote: > > I did find the code for doing keys a bit confusing - If all that's being > > used for keys are SHA1 hashes, why aren't they just byte arrays of length > > 20? > > Only SHA1 hashes are being used, but in the protocol a key is just a > string. Our implementation just happens to convert everything into > 160-bits before putting it in the network. But arbitrary-length strings > are supported in case of future upgrades in the size of the key space. > > > > _______________________________________________ > Freenet-dev mailing list > Freenet-dev at lists.sourceforge.net > http://lists.sourceforge.net/mailman/listinfo/freenet-dev -- \oskar _______________________________________________ Freenet-dev mailing list Freenet-dev at lists.sourceforge.net http://lists.sourceforge.net/mailman/listinfo/freenet-dev
