Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/x12/deps.ts>crypto.pbkdf2

ASC X12 parser, generator, query engine, and mapper; now with support for streams.
Latest
function crypto.pbkdf2
Re-export
import { crypto } from "https://deno.land/x/x12@1.8.0-1/deps.ts";
const { pbkdf2 } = crypto;

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)