I am working on WinForms in a VB.NET (3.5) application that requires the user to enter domain administrator credentials. To make it easier for the user, they only need to enter the username and password once, and then just rely on my application to save these credentials. I would like to save these credentials with other user settings, but for security reasons, the password needs to be encrypted.
What is an easy way to encrypt and decrypt this password? I want the encryption method to be FIPS compatible. The methods I've tried so far lead to this exception:
System.InvalidOperationException: this implementation is not part of the Windows FIPS platform verified cryptographic algorithms.
source
share