首页 > 编程语言 >python AES CFB 记录

python AES CFB 记录

时间:2023-02-04 14:47:38浏览次数:43  
标签:AES python CFB MODE segment size

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

标签:AES,python,CFB,MODE,segment,size
From: https://www.cnblogs.com/DirWang/p/17091446.html

相关文章