Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/simple_utility/mod.ts>cryptoHash

A handy utility collection.
Go to Latest
function cryptoHash
Re-export
import { cryptoHash } from "https://deno.land/x/simple_utility@v0.0.10/mod.ts";

Derive SHA2 hash value from byte array.

Parameters

is512: boolean

Use the hash length 512 bits if true, 256 bits if false.

data: Uint8Array

byte array.