decipher.setAutoPadding()

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.final() from checking for and removing padding.

Turning auto padding off will only work if the input data's length is a multiple of the ciphers block size.

The decipher.setAutoPadding() method must be called before decipher.update().

doc_Nodejs
2016-04-30 04:38:39
Comments
Leave a Comment

Please login to continue.