Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/util-crypto/secp256k1/hasher.ts>hasher

Package publishing for deno.land/x/polkadot
Go to Latest
function hasher
import { hasher } from "https://deno.land/x/polkadot@0.2.38/util-crypto/secp256k1/hasher.ts";

Parameters

hashType: HashType
data: Uint8Array | string
optional
onlyJs: boolean

Returns

Uint8Array