• Creates a canonical multihash of the input object by canonicalizing the object.

    Parameters

    • input: Record<string, unknown>

      The object to canonicalize and then hash

    • hashAlgorithm: Sha256

      The algorithm to hash and encode the data with

    Returns Result<Uint8Array, MultiHashError>

    A Result containing the encoded Uint8Array on ok or a MultiHashError on error

Generated using TypeDoc