File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -2441,6 +2441,8 @@ changes:
2441
2441
* ` privateKey ` {Object | string | Buffer | KeyObject}
2442
2442
* ` oaepHash ` {string} The hash function to use for OAEP padding.
2443
2443
** Default:** ` 'sha1' `
2444
+ * ` oaepLabel ` {Buffer | TypedArray | DataView} The label to use for OAEP
2445
+ padding. If not specified, no label is used.
2444
2446
* ` padding ` {crypto.constants} An optional padding value defined in
2445
2447
` crypto.constants ` , which may be: ` crypto.constants.RSA_NO_PADDING ` ,
2446
2448
` crypto.constants.RSA_PKCS1_PADDING ` , or
@@ -2529,6 +2531,8 @@ changes:
2529
2531
* ` key ` {string | Buffer | KeyObject} A PEM encoded public or private key.
2530
2532
* ` oaepHash ` {string} The hash function to use for OAEP padding.
2531
2533
** Default:** ` 'sha1' `
2534
+ * ` oaepLabel ` {Buffer | TypedArray | DataView} The label to use for OAEP
2535
+ padding. If not specified, no label is used.
2532
2536
* ` passphrase ` {string | Buffer} An optional passphrase for the private key.
2533
2537
* ` padding ` {crypto.constants} An optional padding value defined in
2534
2538
` crypto.constants ` , which may be: ` crypto.constants.RSA_NO_PADDING ` ,
You can’t perform that action at this time.
0 commit comments