diff options
author | Brendon Pierson <BrendonPierson@gmail.com> | 2016-04-04 13:43:35 -0500 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2016-04-07 09:37:22 -0700 |
commit | 1879e1ef178197fd3593fdbbe65c23224c0d256d (patch) | |
tree | 858db2fb07762d3a1d612c09e94978c176292931 | |
parent | c3cec1eefc9f3b55a3fb7bd623b3d921f493870d (diff) | |
download | android-node-v8-1879e1ef178197fd3593fdbbe65c23224c0d256d.tar.gz android-node-v8-1879e1ef178197fd3593fdbbe65c23224c0d256d.tar.bz2 android-node-v8-1879e1ef178197fd3593fdbbe65c23224c0d256d.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 2287e49635..6c45d17951 100644 --- a/doc/api/crypto.markdown +++ b/doc/api/crypto.markdown @@ -301,7 +301,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 |