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 @@ -2476,6 +2476,8 @@ changes:
2476
2476
* ` privateKey ` {Object | string | Buffer | KeyObject}
2477
2477
* ` oaepHash ` {string} The hash function to use for OAEP padding.
2478
2478
** Default:** ` 'sha1' `
2479
+ * ` oaepLabel ` {Buffer | TypedArray | DataView} The label to use for OAEP
2480
+ padding. If not specified, no label is used.
2479
2481
* ` padding ` {crypto.constants} An optional padding value defined in
2480
2482
` crypto.constants ` , which may be: ` crypto.constants.RSA_NO_PADDING ` ,
2481
2483
` crypto.constants.RSA_PKCS1_PADDING ` , or
@@ -2564,6 +2566,8 @@ changes:
2564
2566
* ` key ` {string | Buffer | KeyObject} A PEM encoded public or private key.
2565
2567
* ` oaepHash ` {string} The hash function to use for OAEP padding.
2566
2568
** Default:** ` 'sha1' `
2569
+ * ` oaepLabel ` {Buffer | TypedArray | DataView} The label to use for OAEP
2570
+ padding. If not specified, no label is used.
2567
2571
* ` passphrase ` {string | Buffer} An optional passphrase for the private key.
2568
2572
* ` padding ` {crypto.constants} An optional padding value defined in
2569
2573
` crypto.constants ` , which may be: ` crypto.constants.RSA_NO_PADDING ` ,
You can’t perform that action at this time.
0 commit comments