Skip to content

Commit 1879e1e

Browse files
BrendonPiersonjasnell
authored andcommitted
doc: simple doc typo fix
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>
1 parent c3cec1e commit 1879e1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/crypto.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ cipher text should be discarded due to failed authentication.
301301
### decipher.setAutoPadding(auto_padding=true)
302302

303303
When data has been encrypted without standard block padding, calling
304-
`decipher.setAuthPadding(false)` will disable automatic padding to prevent
304+
`decipher.setAutoPadding(false)` will disable automatic padding to prevent
305305
[`decipher.final()`][] from checking for and removing padding.
306306

307307
Turning auto padding off will only work if the input data's length is a

0 commit comments

Comments
 (0)