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

x/ayonli_jsext/hash.ts>hmac

A JavaScript extension package for building strong and modern applications.
Latest
function hmac
import { hmac } from "https://deno.land/x/ayonli_jsext@v0.9.72/hash.ts";

Parameters

algorithm: "sha1" | "sha256" | "sha512"

Returns

Promise<ArrayBuffer>

Parameters

algorithm: "sha1" | "sha256" | "sha512"
encoding: "hex" | "base64"

Returns

Promise<string>