HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/nodejs/@types/pbkdf2/index.d.ts
// Type definitions for pbkdf2 3.1
// Project: https://github.com/crypto-browserify/pbkdf2
// Definitions by: Timon Engelke <https://github.com/timonegk>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />

// No need to export this
type TypedArray =
    | Int8Array
    | Uint8Array
    | Uint8ClampedArray
    | Int16Array
    | Uint16Array
    | Int32Array
    | Uint32Array
    | Float32Array
    | Float64Array;
export function pbkdf2(
    password: string | Buffer | TypedArray | DataView,
    salt: string | Buffer | TypedArray | DataView,
    iterations: number,
    keylen: number,
    callback: (err: Error, derivedKey: Buffer) => void,
): void;
export function pbkdf2(
    password: string | Buffer | TypedArray | DataView,
    salt: string | Buffer | TypedArray | DataView,
    iterations: number,
    keylen: number,
    digest: string,
    callback: (err: Error, derivedKey: Buffer) => void,
): void;
export function pbkdf2Sync(
    password: string | Buffer | TypedArray | DataView,
    salt: string | Buffer | TypedArray | DataView,
    iterations: number,
    keylen: number,
    digest?: string,
): Buffer;

export {};