| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4c70e42 commit 1d9fd49
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1401,7 +1401,7 @@ Example (obtaining a shared secret): | |||
| 1401 | 1401 | const { | |
| 1402 | 1402 | createECDH, | |
| 1403 | 1403 | createHash, | |
| 1404 | - } = await crypto('crypto'); | ||
| 1404 | + } = await import('crypto'); | ||
| 1405 | 1405 | ||
| 1406 | 1406 | const alice = createECDH('secp256k1'); | |
| 1407 | 1407 | const bob = createECDH('secp256k1'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments