Skip to main content
Module

x/simple_utility/src/crypto.ts>cryptoHash

A handy utility collection.
Go to Latest
function cryptoHash
import { cryptoHash } from "https://deno.land/x/simple_utility@v0.0.12/src/crypto.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.