Skip to content

Commit

Permalink
doc: simple doc typo fix
Browse files Browse the repository at this point in the history
decipher.setAuthPadding canged to decipher.setAutoPadding

PR-URL: #6041
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
  • Loading branch information
BrendonPierson authored and jasnell committed Apr 7, 2016
1 parent c3cec1e commit 1879e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/crypto.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1879e1e

Please sign in to comment.