Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
function pbkdf2
import { pbkdf2 } from "https://deno.land/std@0.177.0/node/internal/crypto/pbkdf2.ts";

Parameters

password: HASH_DATA

Needs to be higher or equal than zero

salt: HASH_DATA

Needs to be higher or equal than zero but less than max allocation size (2^30)

iterations: number

Algorithm to be used for encryption

keylen: number
optional
digest: Algorithms = [UNSUPPORTED]
callback: (err: Error | null, derivedKey?: Buffer) => void