Skip to main content
Module

x/dtils/mod.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.0/mod.ts";

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

Parameters

passwordBytes: Uint8Array
saltBytes: Uint8Array

Returns

Promise<Uint8Array>