[PIC®/AVR® MCU] 用atxmega128a1u AES,CBC压缩的数据,用网站上在线AES解压

[复制链接]
313|1
手机看帖
扫描二维码
随时随地手机跟帖
bluefancy|  楼主 | 2022-6-9 09:56 | 显示全部楼层 |阅读模式
用atxmega128a1u  AES,CBC压缩的数据,用第三方网站上在线AES解压算法解压后每次有两个字节与明文不同,请问可能是什么原因?

使用特权

评论回复
bluefancy|  楼主 | 2022-6-9 10:40 | 显示全部楼层
key: 000102030405060708090A0B0C0D0E0F  lastkey: 13111D7FE3944A17F307A78B4D2B30C5  initvector: 02000047000A1606010D3A4803000000  plaintext: 00FFFFFFFFFFFFFFFFFFFFFFFF0080FFFFFFFF000080FFFFFFFFFF020000000000000000000000000000000000000002010000008064436443008000807A6443  ciphertext(atxmega128a1-AES-CBC): 602CE42063DFC0C57A3D452E93CB13665CB0A49BDB2C5A64E8033E793E23FCBAAB3A751B00B7890BB8FABF38351E0F2A76C207969763B4D79FC977CF2CD05298  decrypt((atxmega128a1-AES-CBC): 00FFFFFFFFFFFFFFFFFFFFFFFF0080FFFFFFFF000080FFFFFFFFFF020000000000000000000000000000000000000002010000008064436443008000807A6443  decrypt with online-aes-calculator(http://www.cryptogrium.com/aes-c...): 00ffffffffffffffffffffbac60080ffffffff000080ffffffffff020000000000000000000000000000000000000002010000008064436443008000807a6443  I encrypt the plaintext,then decrypt the ciphertext with the xmega AES engine,the decrypt result is same as plaintext. But when I use online AES calculator(http://www.cryptogrium.com/aes-c...) to decrypt the ciphertext(is encrypted by xmage engine), two bytes(12th,13th)of the result(64 bytes) is not same,why?

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则