解决方法
- 以Java为标准,对Python进行改造
增加segment_size=128
AES.new(key=key, mode=AES.MODE_CFB, iv=iv, segment_size=128)
- 以Python为标准,对Java进行改造
使用CFB8
Cipher.getInstance("AES/CFB8/NoPadding");
详细解释
见采纳答案:Encrypt in python and decrypt in Java with AES-CFB - Stack Overflow
Comments NOTHING