diff options
author | Brendon Pierson <BrendonPierson@gmail.com> | 2016-04-04 13:43:35 -0500 |
---|---|---|
committer | Myles Borins <mborins@us.ibm.com> | 2016-04-11 13:01:49 -0400 |
commit | 86d2af58d67847dc36becdd5436d600afacb0f9c (patch) | |
tree | 0948016e4a2accc6b5ea8a3b29fa8d8375bfadca | |
parent | f16802f3cab11ba3f0a904a4016398c85ef635c3 (diff) | |
download | nodejs-86d2af58d67847dc36becdd5436d600afacb0f9c.tar.gz nodejs-86d2af58d67847dc36becdd5436d600afacb0f9c.tar.bz2 nodejs-86d2af58d67847dc36becdd5436d600afacb0f9c.zip |
doc: simple doc typo fix
decipher.setAuthPadding canged to decipher.setAutoPadding
PR-URL: https://github.com/nodejs/node/pull/6041
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
-rw-r--r-- | doc/api/crypto.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/crypto.markdown b/doc/api/crypto.markdown index a8920adb6..29fd956a7 100644 --- a/doc/api/crypto.markdown +++ b/doc/api/crypto.markdown @@ -286,7 +286,7 @@ cipher text should be discarded due to failed authentication. ### decipher.setAutoPadding(auto_padding=true) When data has been encrypted without standard block padding, calling -`decipher.setAuthPadding(false)` will disable automatic padding to prevent +`decipher.setAutoPadding(false)` will disable automatic padding to prevent [`decipher.final()`][] from checking for and removing padding. Turning auto padding off will only work if the input data's length is a |