From: Brian Warner Date: Tue, 3 Jun 2008 02:21:39 +0000 (-0700) Subject: docs/file-encoding: update some of the stale diagrams to reflect current code X-Git-Url: https://git.rkrishnan.org/specifications/banana.xhtml?a=commitdiff_plain;h=e0fd3d8fe1edfbaef8f735f9a52cb0ad42b2f413;p=tahoe-lafs%2Ftahoe-lafs.git docs/file-encoding: update some of the stale diagrams to reflect current code --- diff --git a/docs/file-encoding1.svg b/docs/file-encoding1.svg index 8fbce37b..06b702a2 100644 --- a/docs/file-encoding1.svg +++ b/docs/file-encoding1.svg @@ -2,24 +2,43 @@ + + + + + inkscape:window-width="1680" + inkscape:window-height="1050" + inkscape:window-x="0" + inkscape:window-y="0" + showgrid="false" /> @@ -69,20 +89,21 @@ inkscape:groupmode="layer" id="layer1"> + id="g3081" + transform="translate(-198.1596,-0.9619396)"> + style="fill:#e3f4d7;stroke:#000000;stroke-opacity:1" /> FILE (plaintext) - - "allmydata_fileid_v1" - - + - - - - - SHA-256 - - - - fileid - - + id="g4629" + transform="translate(-8.6574585,46.173112)"> - "allmydata_encryption_key_v1" - - + - - - - + width="116.35974" + height="73.956482" + x="442.19803" + y="243.98456" /> enc key + sodipodi:role="line">convergentencryptionkey - - + transform="translate(-122.35224,48.551816)"> AES-CTR - - - - + id="g3201" + transform="translate(-129.86188,50.020871)"> FILE (crypttext) - - "allmydata_verifierid_v1" + id="g4640" + transform="translate(447.30202,-236.63721)"> + y="755.01099" + x="24.107248" + height="28.084265" + width="36.708984" + id="rect3195" + style="fill:#e3f4d7;stroke:#000000;stroke-width:1.19514322;stroke-opacity:1" /> FILE (crypttext) + id="text3197" + y="771.30011" + x="32.327164" + style="font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:100%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Charter" + xml:space="preserve">tag - + - - + id="g4661" + transform="translate(1.9238797,4.8096992)"> + style="fill:#d5f6ff;fill-opacity:1;stroke:#000000;stroke-opacity:1" /> verifierid + sodipodi:role="line">storageindex - + transform="translate(-96.193983,-7.2527756)"> SHA-256 SHA-256 + + + + + tag + + + + + encoding parameters + + + + + + randomencryptionkey + + + + or + + + + diff --git a/docs/file-encoding4.svg b/docs/file-encoding4.svg index d2a3ad12..5b6f91c3 100644 --- a/docs/file-encoding4.svg +++ b/docs/file-encoding4.svg @@ -2,7 +2,7 @@ + sodipodi:docname="file-encoding4.svg" + inkscape:output_extension="org.inkscape.output.svg.inkscape"> + + inkscape:window-width="1680" + inkscape:window-height="1050" + inkscape:window-x="0" + inkscape:window-y="0" + showgrid="false" /> @@ -439,15 +448,15 @@ x="495.05698" y="240.97345">"share root hash" + x="258.43817" + y="492.44629" /> URI - fileid - verifierid - URI Extension Block + + + file size + + + + encoding parameters + + + + share root hash + + + encryption key + id="flowRoot5444" + style="fill:black;stroke:none;stroke-opacity:1;stroke-width:1px;stroke-linejoin:miter;stroke-linecap:butt;fill-opacity:1;font-family:Courier 10 Pitch;font-style:normal;font-weight:normal;font-size:18px;font-stretch:normal;font-variant:normal;text-anchor:start;text-align:start;writing-mode:lr;line-height:100%"> share root hash + sodipodi:linespacing="100%" + id="text5462" + y="750.73669" + x="264.42236" + style="font-size:24px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:100%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Charter" + xml:space="preserve">URI / "file read-cap" + + UEB hash + + + + encryption key + + + + + SHA + - - - - + id="path5508" + d="M 490.16032,618.22602 L 500.19251,660.16729" + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;marker-end:url(#Arrow1Lend);stroke-opacity:1" + sodipodi:nodetypes="cc" /> + + + + other hashes +