weworkapi_python icon indicating copy to clipboard operation
weworkapi_python copied to clipboard

PKCS7Encoder补位问题

Open xiaozhaoying opened this issue 4 years ago • 0 comments

PKCS7Encoder类中,amount_to_pad == 0不会发生

代码如下: amount_to_pad = self.block_size - (text_length % self.block_size) if amount_to_pad == 0: amount_to_pad = self.block_size

xiaozhaoying avatar Jan 17 '22 03:01 xiaozhaoying