算法 - C#中的RijndaelManaged类是否等同于AES加密? [英] algorithm - Is the RijndaelManaged Class in C# equivalent to AES encryption?

查看:2647
本文介绍了算法 - C#中的RijndaelManaged类是否等同于AES加密?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我问这个问题来确认C#中的RijndaelManaged类是否等同于AES加密。从我已经阅读的,RijndaelManaged是选择实现AES通讯的算法。有人可以确认吗?

I am asking this question to confirm whether the RijndaelManaged class in C# is equivalent to AES encryption. From what I have been reading, RijndaelManaged was the algorithm of choice to implement AES encyrption. Can someone confirm this please?

RijndaelManaged算法是否可以安全地用于Web项目?感谢:)

Is RijndaelManaged algorithm safe to be used for a web project? Thanks :)

推荐答案

1997年和2000年之间,NIST在举办的竞赛中选择了AES算法。 Rijndael。

The AES algorithm was selected in a competition held by NIST between 1997 and 2000. The winner was an algorithm called Rijndael.

NIST指定AES算法具有128位的块大小。由于Rijndael支持128,160,192,224和256位的块大小,因此最终的AES规范与原始Rijndael规范不同。换句话说,AES和Rijndael是相同的算法,除了AES被限制为128位的块大小。

NIST specified that the AES algorithm was to have a 128-bit block size. As Rijndael supports block sizes of 128, 160, 192, 224, and 256 bits, the final AES specification differs from the original Rijndael specification in that regard. In other words, "AES" and "Rijndael" are the same algorithm, except "AES" is restricted to a block size of 128 bits.

块大小没有什么做关键尺寸虽然。所讨论的算法支持128,192和256位密钥。较长的键不一定更强,因为AES具有某些理论上的弱点。无论如何,128位密钥在可预见的未来足够长。

Block size has nothing to do with key size though. The algorithm in question supports 128, 192, and 256-bit keys. Longer keys are not necessarily "stronger", because AES has certain theoretical weaknesses. Either way, 128-bit keys are plenty long enough for the foreseeable future.

正如EkoostikMartin所说,AES是不可破坏的。但是密码学是很难的,甚至专业人员不能每次都得到它。使用原始加密原语而不知道你正在做什么可能会导致不好的结果。换句话说,密码很少是安全链中最薄弱的环节。

As EkoostikMartin said, AES is unbreakable to date. But cryptography is hard, and even professionals don't get it right every time. Using raw cryptographic primitives without knowing exactly what you're doing will likely result in something bad. To put it another way, the cipher is very rarely the weakest link in the "security chain".

这篇关于算法 - C#中的RijndaelManaged类是否等同于AES加密?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆