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

x/polkadot/util-crypto/bundle.ts>hmacShaAsU8a

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

Parameters

key: Uint8Array | string
data: Uint8Array
optional
bitLength: 256 | 512 = [UNSUPPORTED]
optional
onlyJs: boolean

Returns

Uint8Array