GeezerVison is showing github.com — doc: add missing documentation for paramEncoding · nodejs/node@203ca49
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 |
|---|
@@ -3723,6 +3723,8 @@ changes: |
3723 | 3723 | * `generator`: {number} Custom generator (DH). **Default:** `2`. |
3724 | 3724 | * `groupName`: {string} Diffie-Hellman group name (DH). See |
3725 | 3725 | [`crypto.getDiffieHellman()`][]. |
| 3726 | + * `paramEncoding`: {string} Must be `'named'` or `'explicit'` (EC). |
| 3727 | + **Default:** `'named'`. |
3726 | 3728 | * `publicKeyEncoding`: {Object} See [`keyObject.export()`][]. |
3727 | 3729 | * `privateKeyEncoding`: {Object} See [`keyObject.export()`][]. |
3728 | 3730 | * `callback`: {Function} |
@@ -3835,6 +3837,8 @@ changes: |
3835 | 3837 | * `generator`: {number} Custom generator (DH). **Default:** `2`. |
3836 | 3838 | * `groupName`: {string} Diffie-Hellman group name (DH). See |
3837 | 3839 | [`crypto.getDiffieHellman()`][]. |
| 3840 | + * `paramEncoding`: {string} Must be `'named'` or `'explicit'` (EC). |
| 3841 | + **Default:** `'named'`. |
3838 | 3842 | * `publicKeyEncoding`: {Object} See [`keyObject.export()`][]. |
3839 | 3843 | * `privateKeyEncoding`: {Object} See [`keyObject.export()`][]. |
3840 | 3844 | * Returns: {Object} |
|