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

x/dtils/encryption.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.4.0/encryption.ts";

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

Parameters

passwordBytes: Uint8Array
saltBytes: Uint8Array

Returns

Promise<Uint8Array>