import { hashValue } from "https://deno.land/x/simple_utility@v1.3.8/src/crypto.ts";
Derive SHA2 hash value from binary.
Examples
Example 1
Example 1
const bin = await Deno.readFile("./file");
const hash = await hashValue(256, bin);
import { hashValue } from "https://deno.land/x/simple_utility@v1.3.8/src/crypto.ts";
Derive SHA2 hash value from binary.
Example 1
const bin = await Deno.readFile("./file");
const hash = await hashValue(256, bin);