On Sun, May 06, 2001 at 02:47:28PM +0100, Adam Langley wrote:
> Notes from an IRC conversation between Tavin and myself:
>
> * partSize = MIN (len (data + padding), MAX (len (data + padding) >>
> 7, 16384) )
> * to pad data to a power of 2, you repeat the data
> * encryption key = make_key ( hash (data + padding) )
Steven is right about this, the extra hash is simply unnecessary.
make_key(data + padding) is fine. Also note that it only applies to CHKs,
for SSKs we should have
encryption key = subset_global_key XOR make_key ( document_name )
(and the subset_global_key should created and appended to the URI by
default, since the fact that it is almsot never used currently is really
quite a large security issue).
> * Storable.Document-header = DocHeadData zero padded to power of 2
You mean encrypted, right?
> * DocHeadData = <length of key: 2 bytes><key><length of data: number>
> <length of metadata: number>
> * The length of the key MUST equal the keysize of the cipher (e.g. 16
> bytes for a 128-bit cipher)
> * DocHeadData number = <length of number: 2 bytes><number: big endian>
> where length is the smallest length that the number will fit into
> subject to: The minumum length is 2 AND The length may not be odd.
>
> AGL
>
> --
> I never let my schooling get in the way of my education.
--
'DeCSS would be fine. Where is it?'
'Here,' Montag touched his head.
'Ah,' Granger smiled and nodded.
Oskar Sandberg
[EMAIL PROTECTED]
_______________________________________________
Devl mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/devl