openssl AES 是否限制为 256 位?
我在代码中使用 AES 的 openssl API。我注意到 AES API 不超过 256 位。我只是好奇这是否是 openssl 代码中的限制,或者 AES 的 512 位是否只是一种杀伤力。
I am using openssl APIs for AES in my code. What I noticed that AES APIs do not go above 256 bits. I am just curious if this is a limitation within openssl code or if 512 bits with AES is just an overkill.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
维基百科说(在脚注中):
Rijndael 算法似乎仅适用于最大大小
256
位。Wikipedia says (in the footnote):
The Rijndael algorithm seems to work only for a maximum size of
256
bits.AES256 是否比 AES128 具有任何实际优势已经令人怀疑。所以 AES512 肯定是大材小用了。
AES128 上的暴力破解已经不可行。因此 AES 的危险在于密码分析。在加密分析方面,并不确定 AES 256 是否比 AES128 更强。
It's already doubtful if AES256 offers any practical advantage over AES128. So AES512 is certainly overkill.
Bruteforce on AES128 is already infeasible. So the danger for AES is crypto analysis. And it's not certain that AES 256 is any stronger than AES128 regarding crypto analysis.