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

x/dtils/encryption.ts>hashPassword

The best unofficial library of utilities for Deno applications
Go to Latest
function hashPassword
import { hashPassword } from "https://deno.land/x/dtils@2.3.1/encryption.ts";

Hashes a password into a symmetric encryption key for encryptions using the AES algorithm. Function assumes that password and salt are utf characters, not base64

Parameters

password: string
salt: string

Returns

Promise<string>