Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/scrypt/lib/hmac.ts>hmacSHA256

🔑 Deno library for hashing passwords using scrypt
Go to Latest
function hmacSHA256
import { hmacSHA256 } from "https://deno.land/x/scrypt@v4.3.4/lib/hmac.ts";

Synchronous Hash-based Message Authentication Code implementation using SHA256

Parameters

key: Uint8Array
data: Uint8Array

Returns

Uint8Array
  • HMAC-SHA256 of data using key