Skip to content

Commit c1e34ca

Browse files
Merge pull request #357 from nodejs/master
Create a new pull request by comparing
2 parents 61a27de + aed17e9 commit c1e34ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/crypto.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1401,7 +1401,7 @@ Example (obtaining a shared secret):
14011401
const {
14021402
createECDH,
14031403
createHash,
1404-
} = await crypto('crypto');
1404+
} = await import('crypto');
14051405

14061406
const alice = createECDH('secp256k1');
14071407
const bob = createECDH('secp256k1');

0 commit comments

Comments
 (0)