Incompatible AES implementations?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I've compiled some AES implementation code from this site , it's supposed to perfrom a 128 bits key encryption. I tested the encryption/decryption programs which work OK together. However if I encrypt anything with the mentioned code and then try to decrypt it by openssl tool built-in in linux, I just can't get decrypt it, it even logs me the bad magic number error. Same, if I encrypt anything with openssl and try to decrypt with the code won't work. I tried with both cbc ecb. If they're both implementing AES, shouldn't it work same way? 回答1