Skip to content

Commit 14dbae5

Browse files
committed
README: fix pbkdf2 spelling, resolves #20
1 parent f8ae5ae commit 14dbae5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ This library provides the functionality of PBKDF2 with the ability to use any su
1010
## Usage
1111

1212
```
13-
var pbkd2f = require('pbkd2f')
14-
var derivedKey = pbkd2f.pbkdf2Sync('password', 'salt', 1, 32, 'sha512')
13+
var pbkdf2 = require('pbkdf2')
14+
var derivedKey = pbkdf2.pbkdf2Sync('password', 'salt', 1, 32, 'sha512')
1515
1616
...
1717
```
@@ -21,4 +21,4 @@ var derivedKey = pbkd2f.pbkdf2Sync('password', 'salt', 1, 32, 'sha512')
2121

2222
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.
2323

24-
Thank you to [FangDun Cai](https://github.com/fundon) for donating the package name on npm, if you're looking for his previous module it is located at [fundon/pbkdf2](https://github.com/fundon/pbkdf2).
24+
Thank you to [FangDun Cai](https://github.com/fundon) for donating the package name on npm, if you're looking for his previous module it is located at [fundon/pbkdf2](https://github.com/fundon/pbkdf2).

0 commit comments

Comments
 (0)