function digestRe-exportimport { digest } from "https://deno.land/x/json_hash@0.2.0/mod.ts"; digest(algorithm: DigestAlgorithmType, data: Tree): Promise<Uint8Array>Digests a tree using the specified hash algorithm. Parametersalgorithm: DigestAlgorithmTypeThe hash algorithm to use. data: TreeThe JSON tree to digest. ReturnsPromise<Uint8Array>The hash digest.