Skip to content

Commit 8b04271

Browse files
committed
Updated docs (#22).
1 parent 9fe2241 commit 8b04271

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ then be used as a key for symmetric block ciphers, private keys, et cetera.
1111
- **Cancellable** - If the key is no longer required, the computation can be cancelled
1212
- **Progress Callback** - Provides the current progress of key derivation as a percentage complete
1313

14-
1514
Tuning
1615
------
1716

@@ -27,7 +26,11 @@ Installing
2726

2827
**node.js**
2928

30-
You should likely not use this module for *node.js* as there are many faster [alternatives](https://www.npmjs.com/package/scrypt), but if you so wish to do so:
29+
If you do not require the progress callback or cancellable features, and your application
30+
is specific to *node.js*, you should likely use the
31+
[built-in crypto package](https://nodejs.org/api/crypto.html#crypto_crypto_scrypt_password_salt_keylen_options_callback).
32+
33+
Otherwise, to install in node.js, use:
3134

3235
```
3336
npm install scrypt-js

0 commit comments

Comments
 (0)