import { cryptoHash } from "https://deno.land/x/simple_utility@v2.1.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 cryptoHash(bin);