From: Zooko O'Whielacronx Date: Wed, 19 Sep 2007 21:27:04 +0000 (-0700) Subject: architecture.txt: a few small edits X-Git-Tag: allmydata-tahoe-0.6.0~56 X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/%22doc.html/index.php?a=commitdiff_plain;h=ca5883b09b947383b43736013b2121515997f5ea;p=tahoe-lafs%2Ftahoe-lafs.git architecture.txt: a few small edits --- diff --git a/docs/architecture.txt b/docs/architecture.txt index df946412..c1c4cfcc 100644 --- a/docs/architecture.txt +++ b/docs/architecture.txt @@ -116,13 +116,14 @@ All hashes use SHA256, and a different tag is used for each purpose. Netstrings are used where necessary to insure these tags cannot be confused with the data to be hashed. All encryption uses AES in CTR mode. The erasure coding is performed with zfec (a python wrapper around Rizzo's FEC library). + A Merkle Hash Tree is used to validate the encoded blocks before they are fed into the decode process, and a transverse tree is used to validate the shares -before they are retrieved. A third merkle tree is constructed over the -plaintext segments, and a fourth is constructed over the crypttext segments. -All necessary hash chains are stored with the shares, and the hash tree roots -are put in the URI extension block. The final hash of the extension block -goes into the URI itself. +as they are retrieved. A third merkle tree is constructed over the plaintext +segments, and a fourth is constructed over the crypttext segments. All +necessary hashes are stored with the shares, and the hash tree roots are put +in the URI extension block. The final hash of the extension block goes into +the URI itself. Note that the number of shares created is fixed at the time the file is uploaded: it is not possible to create additional shares later. The use of a