CryptDeriveKey fails for AES algorithm name

后端 未结 2 604
北恋
北恋 2021-01-07 11:29

I\'m trying to implement AES encryption in my application. I have the following code to create a hashed version of the user password.

PasswordDeriveBytes pas         


        
2条回答
  •  执念已碎
    2021-01-07 12:26

    Looks like this doesn't support AES: http://social.msdn.microsoft.com/Forums/en-US/netfxbcl/thread/61d85001-2eae-4419-b4bf-ce98d46f4d21/

    I also found this: http://www.koders.com/csharp/fidDDE5F3FF54C91BC673350363EAECC0D815A68F92.aspx

    It looks like Rijndael should work. It appears that the key size is only set to 16 though...

提交回复
热议问题