Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oauth2_server/resource_server.ts>hashPassword

A standards compliant implementation of an OAuth 2.0 authorization server with PKCE support.
Latest
function hashPassword
import { hashPassword } from "https://deno.land/x/oauth2_server@0.12.0/resource_server.ts";

Hashes a password with salt using the PBKDF2 algorithm with 100k SHA-256 iterations.

Parameters

password: string
salt: string

Returns

Promise<string>