Skip to content

PKCS7Encoder补位问题 #23

@xiaozhaoying

Description

@xiaozhaoying

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions