pbkdf2/LICENSE000666 000000 000000 0000002165 13704614611011274 0ustar00000000 000000 MIT License Copyright (c) Microsoft Corporation. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE pbkdf2/README.md000666 000000 000000 0000001040 13704614611011535 0ustar00000000 000000 # 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. ### Additional Details * Last updated: Sat, 18 Jul 2020 15:47:21 GMT * Dependencies: [@types/node](https://npmjs.com/package/@types/node) * Global values: none # Credits These definitions were written by [Timon Engelke](https://github.com/timonegk). pbkdf2/index.d.ts000666 000000 000000 0000002237 13704614611012170 0ustar00000000 000000 // Type definitions for pbkdf2 3.1 // Project: https://github.com/crypto-browserify/pbkdf2 // Definitions by: Timon Engelke // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// // 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 {}; pbkdf2/package.json000666 000000 000000 0000001320 13704614611012545 0ustar00000000 000000 { "name": "@types/pbkdf2", "version": "3.1.0", "description": "TypeScript definitions for pbkdf2", "license": "MIT", "contributors": [ { "name": "Timon Engelke", "url": "https://github.com/timonegk", "githubUsername": "timonegk" } ], "main": "", "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", "directory": "types/pbkdf2" }, "scripts": {}, "dependencies": { "@types/node": "*" }, "typesPublisherContentHash": "a40fa74f1ff0d2f082cc550aa5d1b8642eee12a12cb2edea546e25e466f4cf4e", "typeScriptVersion": "3.0" }