简体   繁体   English

AES密钥足够好吗?

[英]Is the AES key good enough?

When the System.Security.Cryptography.Aes.Create(algorithmName) method is called, a new key and IV are generated. 调用System.Security.Cryptography.Aes.Create(algorithmName)方法时,将生成新的密钥和IV。 Are these good enough to use? 这些足够好使用吗?

Those values are safe to use. 这些值可以安全使用。 The whole purpose of frameworks like this one is to make the generation of cryptographically random values easier. 这样的框架的全部目的是使加密随机值的生成更容易。 Aes.Create() is also used in the sample code Aes.Create()也用于示例代码

Additionally, the documentation describes Aes.Create() : 此外, 文档还介绍了Aes.Create()

Creates a cryptographic object that is used to perform the symmetric algorithm. 创建用于执行对称算法的加密对象。

This library is maintained by Microsoft, I think it is safe to say their values are "safe" to use. 该库由Microsoft维护,我可以肯定地说它们的值是“安全的”使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM