From 86d2af58d67847dc36becdd5436d600afacb0f9c Mon Sep 17 00:00:00 2001 From: Brendon Pierson Date: Mon, 4 Apr 2016 13:43:35 -0500 Subject: [PATCH] doc: simple doc typo fix decipher.setAuthPadding canged to decipher.setAutoPadding PR-URL: https://github.com/nodejs/node/pull/6041 Reviewed-By: Brian White Reviewed-By: James M Snell Reviewed-By: Roman Klauke --- doc/api/crypto.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/crypto.markdown b/doc/api/crypto.markdown index a8920ad..29fd956 100644 --- a/doc/api/crypto.markdown +++ b/doc/api/crypto.markdown @@ -286,7 +286,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 -- 2.7.4