aboutsummaryrefslogtreecommitdiff
path: root/doc/api/crypto.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/crypto.markdown')
-rw-r--r--doc/api/crypto.markdown2
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