I'm experimenting with this code (trying to get an understanding of how encryption works).
I was expecting this code to output a password based upon the parameters that I've placed into it. The actual output from this code is:
Press any key to continue . . .
Is this correct? Or is there a method of PasswordDeriveBytes that I need to call?
static void Main(string args)
string passPhrase = "testphase";
string saltValue = "salt";
string hashAlgorithm = "SHA1";
int passwordIterations = 2;
byte saltValueBytes = Encoding.ASCII.GetBytes(saltValue);
PasswordDeriveBytes password = new PasswordDeriveBytes(