-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbdasl.html
42 lines (39 loc) · 3.94 KB
/
bdasl.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html><html lang="en"><head><!--
!!!!! GENERATED SPEC — DO NOT EDIT. Look for the .src.html instead !!!!
-->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Big DASL (BDASL)</title>
<link rel="stylesheet" href="spec.css"><link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><rect x=%220%22 y=%220%22 width=%22100%22 height=%22100%22 fill=%22%2300ff75%22></rect></svg>"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" property="og:title" content="DASL: Big DASL (BDASL)"><meta name="twitter:description" property="og:description" content="BDASL extends DASL CIDs with a new hash type that works better for large files but isn't available by default in browsers, and therefore not an appropriate option in most situations."><meta name="twitter:image" property="og:image" content="https://dasl.ing/bdasl.png"><meta name="twitter:image:alt" content="Very colourful stripes, so colourful it hurts"><meta name="twitter:url" property="og:url" content="https://dasl.ing/"><meta property="og:site_name" content="DASL"><meta property="og:locale" content="en"><meta name="theme-color" content="#00ff75"></head>
<body><div class="nav-back">A specification of the <a href="/">DASL Project</a>.</div><main><header><h1>Big DASL (BDASL)</h1><table><tbody><tr><th>date</th><td>2025-03-17</td></tr><tr><th>editors</th><td><a href="https://berjon.com/">Robin Berjon</a> <<a href="mailto:[email protected]">[email protected]</a>><br><a href="https://bumblefudge.com/">Juan Caballero</a> <<a href="mailto:[email protected]">[email protected]</a>></td></tr><tr><th>issues</th><td><a href="https://github.com/darobin/dasl.ing/issues">list</a>, <a href="https://github.com/darobin/dasl.ing/issues/new">new</a></td></tr><tr><th>abstract</th><td><div id="abstract">
<p>
BDASL extends DASL CIDs with a new hash type that works better for large files but isn't
available by default in browsers, and therefore not an appropriate option in most
situations.
</p>
</div></td></tr></tbody></table></header>
<section>
<h2>Introduction</h2>
<p>
BDASL extends DASL CIDs by adding BLAKE3 support ([[blake3]). BLAKE3 is a powerful hashing
framework that works well for progressive verification of large streams. Unfortunately,
it isn't available in browser (and neither is streaming hashing in general) which makes it
inappriopriate for inclusion as the primary hash function in DASL CIDs.
</p>
<p>
It is recommended to avoid using BDASL CIDs in arbitrary open environments, and rather to
focus on using such CIDs in specific cases in which participants are likely to know how
to handle them.
</p>
</section>
<section>
<h2>Parsing BDASL CIDs</h2>
<p>
All the parsing works the same as for DASL CIDs ([<a href="#ref-cid" class="ref">cid</a>]) with one modification.
</p>
<p>
In the steps to <a href="cid.html#decode-a-cid">decode a CID</a>, the <var>hash type</var>
may also be equal to <code>0x1e</code> (BLAKE3) ([<a href="#ref-blake3" class="ref">blake3</a>]).
</p>
</section>
<section><h2>References</h2><dl><dt id="ref-blake3">[blake3]</dt><dd>J-P. Aumasson, S. Neves, J. O'Connor, Z. Wilcox. <a href="https://www.ietf.org/archive/id/draft-aumasson-blake3-00.html"><cite>The BLAKE3 Hashing Framework</cite></a>. July 2024. URL: <a href="https://www.ietf.org/archive/id/draft-aumasson-blake3-00.html">https://www.ietf.org/archive/id/draft-aumasson-blake3-00.html</a></dd><dt id="ref-cid">[cid]</dt><dd>Robin Berjon & Juan Caballero. <a href="https://dasl.ing/cid.html"><cite>Content IDs (CIDs)</cite></a>. 2025-03-17. URL: <a href="https://dasl.ing/cid.html">https://dasl.ing/cid.html</a></dd></dl></section></main></body></html>