Skip to main content
Module

x/json_hash/mod.ts

JCS (JSON Canonicalization Scheme), JSON digests, and JSON Merkle hashes
Latest
import * as jsonHash from "https://deno.land/x/json_hash@0.2.0/mod.ts";

Classes

Represents a hash of a Merkle tree.

Functions

Serializes a tree into a JSON string which complies with RFC 8785 (JCS: JSON Canonicalization Scheme).

Digests a tree using the specified hash algorithm.

Derives a MerkleHash from input data.

Type Aliases

Available hash algorithms.

Represents a JSON Merkle tree. It is equivalent to Tree, except that it can contain MerkleHashes instead of actual JSON values.

Represents a JSON tree.