decipher.setAutoPadding([autoPadding])


当数据在没有标准块填充的情况下加密时,调用 decipher.setAutoPadding(false) 将禁用自动填充以防止 decipher.final() 检查和删除填充。

¥When data has been encrypted without standard block padding, calling 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 multiple of the ciphers block size.

decipher.setAutoPadding() 方法必须在 decipher.final() 之前调用。

¥The decipher.setAutoPadding() method must be called before decipher.final().