PasswordDeriveBytes Constructor (String, Byte, String, Int32)
Initializes a new instance of the PasswordDeriveBytes class with the password, key salt, hash name, and number of iterations to use to derive the key.
Assembly: mscorlib (in mscorlib.dll)
new : strPassword:string * rgbSalt:byte * strHashName:string * iterations:int -> PasswordDeriveBytes
Never hard-code a password within your source code. Hard coded passwords can be retrieved from an assembly using the Ildasm.exe (IL Disassembler) tool, a hex editor, or by simply opening up the assembly in a text editor like notepad.exe.
For a list of hash algorithm names, see the CryptoConfig class.