AesGcm could not be found VS 2022



在c#中,我无法使用AesGcm,我使用了'using System.Security.Cryptography'。我已经用NuGet安装了System.Security.Cryptography.Algorithms包,但是当我使用using System.Security.Cryptography.Algorithms时,没有找到它。

我正在尝试创建一个在Instagram上使用的enc_password哈希。我的。net Framework版本是4.8。

我还介绍了visual studio 2022中的System.Security.Cryptography.Algorithms包,使用"using system . security . cryptography"是正常的。和"使用系统。安全。加密。算法"。但是我的。net框架版本是6.0。你可以把它改成6.0,看看它是否有效。

最新更新