JSPM

@types/pbkdf2

3.1.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 636627
  • Score
    100M100P100Q182105F
  • License MIT

TypeScript definitions for pbkdf2

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@types/pbkdf2) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Installation

    npm install --save @types/pbkdf2

    Summary

    This package contains type definitions for pbkdf2 (https://github.com/crypto-browserify/pbkdf2).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pbkdf2.

    index.d.ts

    /// <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 {};
    

    Additional Details

    • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
    • Dependencies: @types/node

    Credits

    These definitions were written by Timon Engelke.