openssl AES 是否限制为 256 位?

发布于 2025-01-04 02:02:43 字数 105 浏览 5 评论 0原文

我在代码中使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

〃温暖了心ぐ 2025-01-11 02:02:43

维基百科说(在脚注中):

Rijndael 算法支持 128、160、192、224 和 256 位密钥大小,但 AES 标准中仅指定了 128、192 和 256 位密钥大小。

Rijndael 算法似乎仅适用于最大大小 256 位。

Wikipedia says (in the footnote):

Key sizes of 128, 160, 192, 224, and 256 bits are supported by the Rijndael algorithm, but only the 128, 192, and 256-bit key sizes are specified in the AES standard.

The Rijndael algorithm seems to work only for a maximum size of 256 bits.

小草泠泠 2025-01-11 02:02:43

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文