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

x/dtils/mod.unstable.ts>hashPasswordBytes

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

Hashes a password into a symmetric encryption key for encryptions using the AES algorithm

Parameters

passwordBytes: Uint8Array
saltBytes: Uint8Array

Returns

Promise<Uint8Array>