From 23c67de3dfd1019d8978775478dd775801473a9d Mon Sep 17 00:00:00 2001 From: MoonBall Date: Sun, 2 Jul 2017 11:18:30 +0800 Subject: [PATCH] doc: fix padding mode of crypto.publicDecrypt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/14036 Reviewed-By: Ben Noordhuis Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig Reviewed-By: Tobias Nießen Reviewed-By: Vse Mozhet Byt --- doc/api/crypto.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index de41d5418a0fe6..659dc4e1bbbf26 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -1643,8 +1643,8 @@ added: v1.1.0 - `key` {string} A PEM encoded private key. - `passphrase` {string} An optional passphrase for the private key. - `padding` {crypto.constants} An optional padding value defined in - `crypto.constants`, which may be: `crypto.constants.RSA_NO_PADDING`, - `RSA_PKCS1_PADDING`, or `crypto.constants.RSA_PKCS1_OAEP_PADDING`. + `crypto.constants`, which may be: `crypto.constants.RSA_NO_PADDING` or + `RSA_PKCS1_PADDING`. - `buffer` {Buffer | TypedArray | DataView} Decrypts `buffer` with `publicKey`.