File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -2441,6 +2441,8 @@ changes:
24412441* ` privateKey ` {Object | string | Buffer | KeyObject}
24422442 * ` oaepHash ` {string} The hash function to use for OAEP padding.
24432443 ** Default:** ` 'sha1' `
2444+ * ` oaepLabel ` {Buffer | TypedArray | DataView} The label to use for OAEP
2445+ padding. If not specified, no label is used.
24442446 * ` padding ` {crypto.constants} An optional padding value defined in
24452447 ` crypto.constants ` , which may be: ` crypto.constants.RSA_NO_PADDING ` ,
24462448 ` crypto.constants.RSA_PKCS1_PADDING ` , or
@@ -2529,6 +2531,8 @@ changes:
25292531 * ` key ` {string | Buffer | KeyObject} A PEM encoded public or private key.
25302532 * ` oaepHash ` {string} The hash function to use for OAEP padding.
25312533 ** Default:** ` 'sha1' `
2534+ * ` oaepLabel ` {Buffer | TypedArray | DataView} The label to use for OAEP
2535+ padding. If not specified, no label is used.
25322536 * ` passphrase ` {string | Buffer} An optional passphrase for the private key.
25332537 * ` padding ` {crypto.constants} An optional padding value defined in
25342538 ` crypto.constants ` , which may be: ` crypto.constants.RSA_NO_PADDING ` ,
You can’t perform that action at this time.
0 commit comments