import { deriveHash } from "https://deno.land/x/simple_utility@v2.0.0/mod.pure.ts";
Derive SHA2 hash value from binary. Default is SHA-256.
Examples
Example 1
Example 1
const bin = await Deno.readFile("./file");
const hash = await deriveHash(bin);