# pbkdf2-compat

> This library provides the functionality of PBKDF2 with the ability to use any supported hashing algorithm returned from crypto.getHashes()

Latest version **4.0.0** (published 2015-02-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install pbkdf2-compat
pnpm add pbkdf2-compat
yarn add pbkdf2-compat
bun add pbkdf2-compat
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 4.0.0 |
| Published | 2015-02-15 |
| First published | 2014-09-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 203 |
| Author | Daniel Cousens |
| Maintainers | dcousens, cwmma, jprichardson, dominictarr, indutny |
| Keywords | pbkdf2, kdf, salt, hash |

## Links

- npm: https://www.npmjs.com/package/pbkdf2-compat
- Repository: https://github.com/crypto-browserify/pbkdf2-compat
- Issues: https://github.com/crypto-browserify/pbkdf2-compat/issues
- npm.io page: https://npm.io/package/pbkdf2-compat

## Dependencies (1)

- [create-hmac](https://npm.io/package/create-hmac.md) ^1.1.2

## Alternatives

- [@gemini-wallet/core](https://npm.io/package/@gemini-wallet/core.md) — 515.6K weekly downloads
- [utility](https://npm.io/package/utility.md) — 416.6K weekly downloads
- [@primno/dpapi](https://npm.io/package/@primno/dpapi.md) — 7.2K weekly downloads
- [pi-readseek](https://npm.io/package/pi-readseek.md) — 3.7K weekly downloads
- [@emilia-protocol/verify](https://npm.io/package/@emilia-protocol/verify.md) — 1.1K weekly downloads

## Recent versions

- 4.0.0 (latest) — 2015-02-15
- 3.0.2 — 2015-02-15
- 3.0.1 — 2015-01-28
- 2.0.1 — 2014-09-24
- 2.0.0 — 2014-09-24
- 1.0.1 — 2014-09-16
- 1.0.0 — 2014-09-05

## README

# Depreciated, this library can now be found at [pbkdf2](https://www.npmjs.com/package/pbkdf2).

[![build status](https://secure.travis-ci.org/crypto-browserify/pbkdf2-compat.png)](http://travis-ci.org/crypto-browserify/pbkdf2-compat)
[![Coverage Status](https://img.shields.io/coveralls/crypto-browserify/pbkdf2-compat.svg)](https://coveralls.io/r/crypto-browserify/pbkdf2-compat)
[![Version](http://img.shields.io/npm/v/pbkdf2-compat.svg)](https://www.npmjs.org/package/pbkdf2-compat)

This library provides the functionality of PBKDF2 with the ability to use any supported hashing algorithm returned from `crypto.getHashes()`


## Usage

```
var compat = require('pbkd2f-compat')
var derivedKey = compat.pbkdf2Sync('password', 'salt', 1, 32, 'sha512')

...
```


## Credits

This module is a derivative of https://github.com/cryptocoinjs/pbkdf2-sha256/, so thanks to [JP Richardson](https://github.com/cryptocoinjs/pbkdf2-sha256/) for laying the ground work.

---
_Source: https://npm.io/package/pbkdf2-compat · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
