| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 370b0ec commit 0747fac
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1175,12 +1175,12 @@ or `setPrivateKey()` methods. | |||
| 1175 | 1175 | ||
| 1176 | 1176 | ```mjs | |
| 1177 | 1177 | const { createDiffieHellmanGroup } = await import('node:crypto'); | |
| 1178 | - const dh = createDiffieHellmanGroup('modp1'); | ||
| 1178 | + const dh = createDiffieHellmanGroup('modp16'); | ||
| 1179 | 1179 | ``` | |
| 1180 | 1180 | ||
| 1181 | 1181 | ```cjs | |
| 1182 | 1182 | const { createDiffieHellmanGroup } = require('node:crypto'); | |
| 1183 | - const dh = createDiffieHellmanGroup('modp1'); | ||
| 1183 | + const dh = createDiffieHellmanGroup('modp16'); | ||
| 1184 | 1184 | ``` | |
| 1185 | 1185 | ||
| 1186 | 1186 | The following groups are supported: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments