开发者

AES / Rijndael Test Vectors : what padding mode?

开发者 https://www.devze.com 2023-01-01 01:51 出处:网络
So I\'ve been looking at these test vectors for the Known Answer Test for AES / Rijndael (with 128-bit block) in CBC mode, and I wonder:wh开发者_JAVA百科at kind of padding do they use?PKCS7?The Zip ar

So I've been looking at these test vectors for the Known Answer Test for AES / Rijndael (with 128-bit block) in CBC mode, and I wonder: wh开发者_JAVA百科at kind of padding do they use? PKCS7?


The Zip archive you link to contains a file called katmct.pdf which describes how the tests are computed. There is no padding; for each test, the data already has the 128-bit length that the algorithm expects.

0

精彩评论

暂无评论...
验证码 换一张
取 消