Skip to main content
The Deno 2 Release Candidate is here
Learn more
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.4.0/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