Public Overrides GetBytes () Function Since Byte () is deprecated
What is the poet trying to say?
Public Override Function GetBytes () Because Byte () is deprecated: Rfc2898DeriveBytes replaces PasswordDeriveBytes to get key material from a password and is preferred in new applications.
Should I replace this ...
Dim keyBytes As Byte() keyBytes = password.GetBytes(keySize / 8)
... with what?
+2
source to share
3 answers
sounds like what you need http://msdn.microsoft.com/en-us/library/system.security.cryptography.rfc2898derivebytes.getbytes.aspx
+1
source to share