On Fri, May 04, 2001 at 09:06:16AM -0500, Scott G. Miller wrote: > > So, it sounds like the way to go is to have a Storable.Client-data which > > would be presumably a Base64 string-encoding of an encrypted byte array. > > > > Should it decrypt to a (alphabetized) FieldSet or to a binary structure? > > > > #1: decrypts to -- > > Metadata-length=<hex> > > Symmetric-key=<hex> > > End > > #2: decrypts to -- > > <2 bytes crypto key length><crypto key><8 bytes metadata length> > > Definitely #1. > You can't put symmetric-key in this field, however, for obvious reasons.
Why not? It's exactly the same situation as putting it at the beginning of the document itself, we're just moving it a few bytes earlier in the message. > > Either way we can pad it to a decent length by repeating some hash > > function of the data. > Thats not necessary, you can just throw random bytes in the message's > trailing field. Ah, but for CHKs the routing key is a function of the storables, and we want to do it in such a way as to encourage CHK collisions. -- # tavin cole # # "The process of scientific discovery is, in effect, # a continual flight from wonder." # - Albert Einstein _______________________________________________ Devl mailing list Devl at freenetproject.org http://lists.freenetproject.org/mailman/listinfo/devl >From - Sun May 6 15:05:44 2001
