Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 3.42 KB

dcbor.md

File metadata and controls

48 lines (35 loc) · 3.42 KB

dCBOR

dCBOR is deterministic CBOR, a optional variant of CBOR described in RFC 8949.

A deterministic version of CBOR is critical when an application requires the same data to always be encoded in the same way. This is true for Gordian Envelope, which uses CBOR to arrange data that is identified by hashes. The hashes only remain the same if the same data is always encoded in the exact same way, hence the need for determinism.

Though RFC 8949 includes some requirements for dCBOR, it leaves other options up to encoder developers. This results in dCBOR usage that is not necessarily consistent across multiple encoders. As a result, Blockchain Commons has produced an Internet-Draft to fully codify dCBOR practices.

We have also released libraries for dCBOR in Rust and Swift as well as a command line application for testing encoding and decoding that all follow the specifications laid out in this Draft.

dCBOR Videos

Why CBOR? dCBOR Library from Blockchain Commons

Preliminary dCBOR Specification

dCBOR Developer Libraries & Applications

dCBOR Discussions