Big DASL (BDASL)

date2024-12-11
editorsRobin Berjon <robin@berjon.com>
Juan Caballero <bumblefudge@learningproof.xyz>
issueslist, new
abstract

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.

Introduction

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.

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.

Parsing BDASL CIDs

All the parsing works the same as for DASL CIDs ([cid]) with one modification.

In the steps to decode a CID, the hash type may also be equal to 0x1e (BLAKE3) ([blake3]).

References

[blake3]
J-P. Aumasson, S. Neves, J. O'Connor, Z. Wilcox. The BLAKE3 Hashing Framework. July 2024. URL: https://www.ietf.org/archive/id/draft-aumasson-blake3-00.html
[cid]
Robin Berjon & Juan Caballero. Content IDs (CIDs). 2024-12-11. URL: https://dasl.ing/cid.html