python AES CFB 记录

aescipher=AES.new(aeskey,AES.MODE_CFB,aesiv,segment_size=128)

  • segment_size (integer) --
    (Only MODE_CFB).The number of bits the plaintext and ciphertext
    are segmented in. It must be a multiple of 8.
    If not specified, it will be assumed to be 8.

segment_size 不指定时默认值8,
一般设置为分组大小128

posted @ 2023-02-04 14:31  DirWangK  阅读(165)  评论(0编辑  收藏  举报