How to generate Rijndael KEY and IV using a passphrase?
I think you are looking for password-based key derivation. There is Rfc2898DeriveBytes class that implements it. Rfc2898DeriveBytes takes a password, a salt, and an iteration count, and then generates keys through calls to the GetBytes method. RFC 2898 includes methods for creating a key and initialization vector (IV) from a password and salt. You can … Read more