diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 88d617949abdf4..d0a3bb41b0ecce 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -1401,7 +1401,7 @@ Example (obtaining a shared secret): const { createECDH, createHash, -} = await crypto('crypto'); +} = await import('crypto'); const alice = createECDH('secp256k1'); const bob = createECDH('secp256k1');