Skip to main content
Deno 2 is finally 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.1/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