Public
Edited
Oct 27, 2023
Insert cell
Insert cell
Hasher = import(
"https://esm.sh/fr32-sha2-256-trunc254-padded-binary-tree-multihash"
)
Insert cell
hasher = Hasher.create()
Insert cell
digest = new Uint8Array(hasher.multihashByteLength())
Insert cell
byteLength = hasher.digestInto(digest, 0, true)
Insert cell
digest.subarray(0, byteLength)
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more