mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
doc,crypto: clarify oaepHash option's impact
PR-URL: https://github.com/nodejs/node/pull/32340 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This commit is contained in:
1 parent
400bc5cdc0
commit
154d4e573a
1 file changed
+2
-2
+2
-2
@@ -2482,7 +2482,7 @@ changes:
|
||||
-->
|
||||
|
||||
* `privateKey` {Object | string | Buffer | KeyObject}
|
||||
* `oaepHash` {string} The hash function to use for OAEP padding.
|
||||
* `oaepHash` {string} The hash function to use for OAEP padding and MGF1.
|
||||
**Default:** `'sha1'`
|
||||
* `oaepLabel` {Buffer | TypedArray | DataView} The label to use for OAEP
|
||||
padding. If not specified, no label is used.
|
||||
@@ -2572,7 +2572,7 @@ changes:
|
||||
|
||||
* `key` {Object | string | Buffer | KeyObject}
|
||||
* `key` {string | Buffer | KeyObject} A PEM encoded public or private key.
|
||||
* `oaepHash` {string} The hash function to use for OAEP padding.
|
||||
* `oaepHash` {string} The hash function to use for OAEP padding and MGF1.
|
||||
**Default:** `'sha1'`
|
||||
* `oaepLabel` {Buffer | TypedArray | DataView} The label to use for OAEP
|
||||
padding. If not specified, no label is used.
|
||||
|
||||
Reference in new issue
Block a user