On Fri, 21 Apr 2000, Scott G. Miller wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > > > You could do A, but have the nodes split apart the metadata and data on > > receipt and store them separately. Then concatenate them together (or not) > > on replies. > > You can also do a with an in-the-clear header-start number. This would > tell the node how much of the data it would need to transmit, at which > point it could stop if it didn't need to send the header. If you used > cipher block chaining it wouldn't make the text of the header at all > relevant. The only drawback is you can't send the metadata only without > decrypting the body of data.
Why? If the first 4096 bytes contains headers, then the node could send that back without decrypting it. The client could then decrypt those 256 blocks (given a 128 bit block cipher) without any need for the rest of the data. And if you use CBC you could even send the meta-data alone even if it were not at the beginning, all you need is one block of the data that precedes it to use as an IV. What is the problem? > > Scott > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.1 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iD8DBQE5AGGYpXyM95IyRhURAueDAJ97mdkHexPBnaeUbPXvUIexQZAsNQCg2o0Q > DoPiKxLN8PGUI88bNwATTpU= > =B/P2 > -----END PGP SIGNATURE----- > > > _______________________________________________ > Freenet-dev mailing list > Freenet-dev at lists.sourceforge.net > http://lists.sourceforge.net/mailman/listinfo/freenet-dev -- Oskar Sandberg md98-osa at nada.kth.se #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1 lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/) _______________________________________________ Freenet-dev mailing list Freenet-dev at lists.sourceforge.net http://lists.sourceforge.net/mailman/listinfo/freenet-dev
