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