Skip to content

Commit 7dc508c

Browse files
authored
docs(encryption): Added missing scrypt import
1 parent 589cfb4 commit 7dc508c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/security/encryption-hashing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Node.js provides a built-in [crypto module](https://nodejs.org/api/crypto.html)
1111
As an example, let's use AES (Advanced Encryption System) `'aes-256-ctr'` algorithm CTR encryption mode.
1212

1313
```typescript
14-
import { createCipheriv, randomBytes } from 'crypto';
14+
import { createCipheriv, randomBytes, scrypt } from 'crypto';
1515
import { promisify } from 'util';
1616

1717
const iv = randomBytes(16);

0 commit comments

Comments
 (0)