Skip to content

Commit 6c246c9

Browse files
Simple doc typo fix. decipher.setAuthPadding canged to decipher.setAutoPadding
1 parent c60faf6 commit 6c246c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: doc/api/crypto.markdown

+1-1
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)