GeezerVison is showing github.com — doc: add missing documentation for paramEncoding · nodejs/node@16643db
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/crypto.md +4Lines changed: 4 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -3739,6 +3739,8 @@ changes: |
3739 | 3739 | * `generator`: {number} Custom generator (DH). **Default:** `2`. |
3740 | 3740 | * `groupName`: {string} Diffie-Hellman group name (DH). See |
3741 | 3741 | [`crypto.getDiffieHellman()`][]. |
| 3742 | + * `paramEncoding`: {string} Must be `'named'` or `'explicit'` (EC). |
| 3743 | + **Default:** `'named'`. |
3742 | 3744 | * `publicKeyEncoding`: {Object} See [`keyObject.export()`][]. |
3743 | 3745 | * `privateKeyEncoding`: {Object} See [`keyObject.export()`][]. |
3744 | 3746 | * `callback`: {Function} |
@@ -3851,6 +3853,8 @@ changes: |
3851 | 3853 | * `generator`: {number} Custom generator (DH). **Default:** `2`. |
3852 | 3854 | * `groupName`: {string} Diffie-Hellman group name (DH). See |
3853 | 3855 | [`crypto.getDiffieHellman()`][]. |
| 3856 | + * `paramEncoding`: {string} Must be `'named'` or `'explicit'` (EC). |
| 3857 | + **Default:** `'named'`. |
3854 | 3858 | * `publicKeyEncoding`: {Object} See [`keyObject.export()`][]. |
3855 | 3859 | * `privateKeyEncoding`: {Object} See [`keyObject.export()`][]. |
3856 | 3860 | * Returns: {Object} |
|