@@ -34,25 +34,25 @@ These algorithms provide quantum-resistant cryptography.
3434 * ✅ ` decipher.setAuthTag(buffer[, encoding]) `
3535 * ✅ ` decipher.setAutoPadding([autoPadding]) `
3636 * ✅ ` decipher.update(data[, inputEncoding][, outputEncoding]) `
37- * ❌ Class: ` DiffieHellman `
38- * ❌ ` diffieHellman.computeSecret(otherPublicKey[, inputEncoding][, outputEncoding]) `
39- * ❌ ` diffieHellman.generateKeys([encoding]) `
40- * ❌ ` diffieHellman.getGenerator([encoding]) `
41- * ❌ ` diffieHellman.getPrime([encoding]) `
42- * ❌ ` diffieHellman.getPrivateKey([encoding]) `
43- * ❌ ` diffieHellman.getPublicKey([encoding]) `
44- * ❌ ` diffieHellman.setPrivateKey(privateKey[, encoding]) `
45- * ❌ ` diffieHellman.setPublicKey(publicKey[, encoding]) `
37+ * ✅ Class: ` DiffieHellman `
38+ * ✅ ` diffieHellman.computeSecret(otherPublicKey[, inputEncoding][, outputEncoding]) `
39+ * ✅ ` diffieHellman.generateKeys([encoding]) `
40+ * ✅ ` diffieHellman.getGenerator([encoding]) `
41+ * ✅ ` diffieHellman.getPrime([encoding]) `
42+ * ✅ ` diffieHellman.getPrivateKey([encoding]) `
43+ * ✅ ` diffieHellman.getPublicKey([encoding]) `
44+ * ✅ ` diffieHellman.setPrivateKey(privateKey[, encoding]) `
45+ * ✅ ` diffieHellman.setPublicKey(publicKey[, encoding]) `
4646 * ❌ ` diffieHellman.verifyError `
47- * ❌ Class: ` DiffieHellmanGroup `
48- * ❌ Class: ` ECDH `
47+ * ✅ Class: ` DiffieHellmanGroup `
48+ * ✅ Class: ` ECDH `
4949 * ❌ static ` ECDH.convertKey(key, curve[, inputEncoding[, outputEncoding[, format]]]) `
50- * ❌ ` ecdh.computeSecret(otherPublicKey[, inputEncoding][, outputEncoding]) `
51- * ❌ ` ecdh.generateKeys([encoding[, format]]) `
52- * ❌ ` ecdh.getPrivateKey([encoding]) `
53- * ❌ ` ecdh.getPublicKey([encoding][, format]) `
54- * ❌ ` ecdh.setPrivateKey(privateKey[, encoding]) `
55- * ❌ ` ecdh.setPublicKey(publicKey[, encoding]) `
50+ * ✅ ` ecdh.computeSecret(otherPublicKey[, inputEncoding][, outputEncoding]) `
51+ * ✅ ` ecdh.generateKeys([encoding[, format]]) `
52+ * ✅ ` ecdh.getPrivateKey([encoding]) `
53+ * ✅ ` ecdh.getPublicKey([encoding][, format]) `
54+ * ✅ ` ecdh.setPrivateKey(privateKey[, encoding]) `
55+ * ✅ ` ecdh.setPublicKey(publicKey[, encoding]) `
5656* ✅ Class: ` Hash `
5757 * ✅ ` hash.copy([options]) `
5858 * ✅ ` hash.digest([encoding]) `
@@ -109,10 +109,10 @@ These algorithms provide quantum-resistant cryptography.
109109 * ✅ ` crypto.constants `
110110 * ✅ ` crypto.createCipheriv(algorithm, key, iv[, options]) `
111111 * ✅ ` crypto.createDecipheriv(algorithm, key, iv[, options]) `
112- * ❌ ` crypto.createDiffieHellman(prime[, primeEncoding][, generator][, generatorEncoding]) `
113- * ❌ ` crypto.createDiffieHellman(primeLength[, generator]) `
114- * ❌ ` crypto.createDiffieHellmanGroup(name ) `
115- * ❌ ` crypto.createECDH(curveName) `
112+ * ✅ ` crypto.createDiffieHellman(prime[, primeEncoding][, generator][, generatorEncoding]) `
113+ * ✅ ` crypto.createDiffieHellman(primeLength[, generator]) `
114+ * ✅ ` crypto.getDiffieHellman(groupName ) `
115+ * ✅ ` crypto.createECDH(curveName) `
116116 * ✅ ` crypto.createHash(algorithm[, options]) `
117117 * ✅ ` crypto.createHmac(algorithm, key[, options]) `
118118 * ✅ ` crypto.createPrivateKey(key) `
@@ -133,7 +133,6 @@ These algorithms provide quantum-resistant cryptography.
133133 * ❌ ` crypto.getCipherInfo(nameOrNid[, options]) `
134134 * ✅ ` crypto.getCiphers() `
135135 * ❌ ` crypto.getCurves() `
136- * ❌ ` crypto.getDiffieHellman(groupName) `
137136 * ❌ ` crypto.getFips() `
138137 * ✅ ` crypto.getHashes() `
139138 * ✅ ` crypto.getRandomValues(typedArray) `
@@ -165,8 +164,8 @@ These algorithms provide quantum-resistant cryptography.
165164## ` crypto.diffieHellman `
166165| type | Status |
167166| --------- | :----: |
168- | ` dh ` | ❌ |
169- | ` ec ` | ❌ |
167+ | ` dh ` | ✅ |
168+ | ` ec ` | ✅ |
170169| ` x448 ` | ✅ |
171170| ` x25519 ` | ✅ |
172171
0 commit comments