-
-
Notifications
You must be signed in to change notification settings - Fork 68
[Replacement]: pbkdf2 #502
Copy link
Copy link
Open
Description
Package to replace
Suggested replacement(s)
for require('pbkdf2')
crypto.pbkdf2crypto.subtle.deriveBits({ name: 'PBKDF2' ... })import { pbkdf2Async } from '@noble/hashes/pbkdf2.js'
for require('pbkdf2').pbkdf2Sync
crypto.pbkdf2Syncimport { pbkdf2 } from '@noble/hashes/pbkdf2.js'
Manifest type
native (replaceable by a built-in platform feature)
Rationale
Version 3.1.2 was published 5 years ago (April 2021).
Version 3.1.3 was published 9 months ago (June 2025) with 1 bloat dependency to-buffer been added from this commit.
@noble/hashes is audited, 0 dependencies, 38m downloads / week.
Availability
-
crypto.pbkdf2- Node.js
v0.5.5
- Node.js
-
crypto.pbkdf2Sync- Node.js
v0.9.3
- Node.js
-
crypto.subtle.deriveBits({ name: 'PBKDF2' ... })- Node.js
v15 - Web Crypto
- Node.js
Code example (optional)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels