@@ -1897,7 +1897,8 @@ added: v0.11.14
1897
1897
- ` passphrase ` {string} An optional passphrase for the private key.
1898
1898
- ` padding ` {crypto.constants} An optional padding value defined in
1899
1899
` crypto.constants ` , which may be: ` crypto.constants.RSA_NO_PADDING ` ,
1900
- ` RSA_PKCS1_PADDING ` , or ` crypto.constants.RSA_PKCS1_OAEP_PADDING ` .
1900
+ ` crypto.constants.RSA_PKCS1_PADDING ` , or
1901
+ ` crypto.constants.RSA_PKCS1_OAEP_PADDING ` .
1901
1902
- ` buffer ` {Buffer | TypedArray | DataView}
1902
1903
- Returns: {Buffer} A new ` Buffer ` with the decrypted content.
1903
1904
@@ -1915,7 +1916,7 @@ added: v1.1.0
1915
1916
- ` passphrase ` {string} An optional passphrase for the private key.
1916
1917
- ` padding ` {crypto.constants} An optional padding value defined in
1917
1918
` crypto.constants ` , which may be: ` crypto.constants.RSA_NO_PADDING ` or
1918
- ` RSA_PKCS1_PADDING ` .
1919
+ ` crypto.constants. RSA_PKCS1_PADDING` .
1919
1920
- ` buffer ` {Buffer | TypedArray | DataView}
1920
1921
- Returns: {Buffer} A new ` Buffer ` with the encrypted content.
1921
1922
@@ -1933,7 +1934,7 @@ added: v1.1.0
1933
1934
- ` passphrase ` {string} An optional passphrase for the private key.
1934
1935
- ` padding ` {crypto.constants} An optional padding value defined in
1935
1936
` crypto.constants ` , which may be: ` crypto.constants.RSA_NO_PADDING ` or
1936
- ` RSA_PKCS1_PADDING ` .
1937
+ ` crypto.constants. RSA_PKCS1_PADDING` .
1937
1938
- ` buffer ` {Buffer | TypedArray | DataView}
1938
1939
- Returns: {Buffer} A new ` Buffer ` with the decrypted content.
1939
1940
@@ -1954,7 +1955,8 @@ added: v0.11.14
1954
1955
- ` passphrase ` {string} An optional passphrase for the private key.
1955
1956
- ` padding ` {crypto.constants} An optional padding value defined in
1956
1957
` crypto.constants ` , which may be: ` crypto.constants.RSA_NO_PADDING ` ,
1957
- ` RSA_PKCS1_PADDING ` , or ` crypto.constants.RSA_PKCS1_OAEP_PADDING ` .
1958
+ ` crypto.constants.RSA_PKCS1_PADDING ` , or
1959
+ ` crypto.constants.RSA_PKCS1_OAEP_PADDING ` .
1958
1960
- ` buffer ` {Buffer | TypedArray | DataView}
1959
1961
- Returns: {Buffer} A new ` Buffer ` with the encrypted content.
1960
1962
0 commit comments