pbkdf2/ 000755 001751 000177 0000000000 14522377323 013731 5 ustar 00runner 000000 000000 14522377323 14522377323 pbkdf2/LICENSE 000644 001751 000177 0000002165 14522377323 014742 0 ustar 00runner 000000 000000 14522377323 14522377323 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.md 000644 001751 000177 0000003103 14522377323 015176 0 ustar 00runner 000000 000000 14522431244 14522377323 # 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pbkdf2/index.d.ts)
````ts
///
// 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](https://npmjs.com/package/@types/node)
# Credits
These definitions were written by [Timon Engelke](https://github.com/timonegk).
pbkdf2/index.d.ts 000644 001751 000177 0000001702 14522377323 015632 0 ustar 00runner 000000 000000 14522377323 14522377323 ///
// 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.json 000644 001751 000177 0000001457 14522377323 016217 0 ustar 00runner 000000 000000 14522431244 14522377323 {
"name": "@types/pbkdf2",
"version": "3.1.2",
"description": "TypeScript definitions for pbkdf2",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pbkdf2",
"license": "MIT",
"contributors": [
{
"name": "Timon Engelke",
"githubUsername": "timonegk",
"url": "https://github.com/timonegk"
}
],
"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/pbkdf2"
},
"scripts": {},
"dependencies": {
"@types/node": "*"
},
"typesPublisherContentHash": "0d5223e29d49eb51fd8f5f15e6d8d1898ae3082666da5b1756045a3c4d2a9382",
"typeScriptVersion": "4.5"
}