pbkdf2
This library provides the functionality of PBKDF2 with the ability to use any supported hashing algorithm returned from crypto.getHashes()
Last updated 7 months ago by ljharb .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install pbkdf2 
SYNC missed versions from official npm registry.

pbkdf2 Version Badge

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

github actions coverage dependency status dev dependency status License Downloads

npm badge

Usage

var pbkdf2 = require('pbkdf2')
var derivedKey = pbkdf2.pbkdf2Sync('password', 'salt', 1, 32, 'sha512')

...

For more information on the API, please see the relevant Node documentation.

For high performance, use the async variant (pbkdf2.pbkdf2), not pbkdf2.pbkdf2Sync; this variant has the oppurtunity to use window.crypto.subtle when browserified.

Credits

This module is a derivative of cryptocoinjs/pbkdf2-sha256, so thanks to JP Richardson for laying the ground work.

Thank you to FangDun Cai for donating the package name on npm, if you're looking for his previous module it is located at fundon/pbkdf2.

Current Tags

  • 3.1.5                                ...           latest (7 months ago)

24 Versions

  • 3.1.5                                ...           7 months ago
  • 3.1.4                                ...           7 months ago
  • 3.1.3                                ...           10 months ago
  • 3.1.2                                ...           5 years ago
  • 3.1.1                                ...           6 years ago
  • 3.1.0                                ...           6 years ago
  • 3.0.17                                ...           8 years ago
  • 3.0.16                                ...           8 years ago
  • 3.0.14                                ...           9 years ago
  • 3.0.13                                ...           9 years ago
  • 3.0.12                                ...           9 years ago
  • 3.0.11                                ...           9 years ago
  • 3.0.10                                ...           9 years ago
  • 3.0.9                                ...           10 years ago
  • 3.0.8                                ...           10 years ago
  • 3.0.7                                ...           10 years ago
  • 3.0.6                                ...           10 years ago
  • 3.0.5                                ...           10 years ago
  • 3.0.4                                ...           11 years ago
  • 3.0.3                                ...           11 years ago
  • 0.0.5                                ...           12 years ago
  • 0.0.4                                ...           12 years ago
  • 0.0.2                                ...           12 years ago
  • 0.0.1                                ...           12 years ago
Downloads
Today 0
This Week 72
This Month 100
Last Day 11
Last Week 63
Last Month 207
Dependencies (6)
Dev Dependencies (11)

Copyright 2013 - present © cnpmjs.org | Home |