Currently, I am working on a .NET application that needs encryption of the data that gets stored in a SQL Server 2008 database.
I used AES Encryption and the key is generated using a password and salt combination that are hashed using SHA1 by PasswordDeriveBytes. Now, I need to change the hash algorithm to SHA256 and as far as I know PasswordDeriveBytes accepts only MD5 and SHA1 as hash parameters. I just want to know if I can use PasswordDeriveBytes for implementing SHA256.
If not, whats the alternative inbuilt class in .NET for the same purpose? Can I implement it manually? If implementing manually is the only solution, I may need help doing that. Thanks in advance.