Skip to content

Commit 07829b0

Browse files
BrendonPiersonMyles Borins
authored and
Myles Borins
committed
doc: simple doc typo fix
decipher.setAuthPadding canged to decipher.setAutoPadding PR-URL: #6041 Reviewed-By: Brian White <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Roman Klauke <[email protected]>
1 parent a5f8d0c commit 07829b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/crypto.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ cipher text should be discarded due to failed authentication.
286286
### decipher.setAutoPadding(auto_padding=true)
287287

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

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

0 commit comments

Comments
 (0)