import { Hash } from "https://dotland.deno.dev/std@0.177.0/node/crypto.ts";
Calculates the digest of all of the data.
If encoding is provided a string will be returned; otherwise a Buffer is returned.
Supported encodings are currently 'hex', 'binary', 'base64', 'base64url'.