• Hash a dataset. This is done by turning each quad into a nquad, concatenate them, possibly sort them, and then hash the result.

    Parameters

    • state: C14nState
    • quads: InputQuads
    • sort: boolean = true

      whether the quads must be sorted before hash. Defaults to true.

    Returns Promise<Hash>

    • hash value

    Async