Re: how to encrypt and integrity-check with only one key

2009-09-15 Thread David-Sarah Hopwood
Zooko Wilcox-O'Hearn wrote: > following-up to my own post: > > On Monday,2009-09-14, at 10:22 , Zooko Wilcox-O'Hearn wrote: > >> David-Sarah Hopwood suggested the improvement that the integrity-check >> value "V" could be computed as an integrity check (i.e. a secure hash) >> on the K1_enc in add

Re: how to encrypt and integrity-check with only one key

2009-09-14 Thread Zooko Wilcox-O'Hearn
following-up to my own post: On Monday,2009-09-14, at 10:22 , Zooko Wilcox-O'Hearn wrote: David-Sarah Hopwood suggested the improvement that the integrity- check value "V" could be computed as an integrity check (i.e. a secure hash) on the K1_enc in addition to the file contents. Oops, that

how to encrypt and integrity-check with only one key

2009-09-14 Thread Zooko Wilcox-O'Hearn
Folks: I had an idea about how to use a single key to accomplish both encryption and integrity checking on an immutable file. I posted it to the tahoe-dev list [1], and David-Sarah Hopwood followed up with an interesting new crypto cap design [2]. Here is the basic crypto trick, which m