Adam

Adam

  • NA
  • 27
  • 0

Where to store symmetric hash key and vector?

Mar 22 2012 6:51 AM
Hi

I have a winforms application that will be installed on a clients machine.  The client is able to create user logins for a website from this application.

I am using a hashing algorithm with salt values to produce different cipher text from the same plain text values encrypted with the same symmetric (Rijndael) key and initialization vector.

My problem is, where do I store the key and initialization vector?  I know it's not recommended to hardcode them into the code due to a number of reasons including hackers being able to see the values, but how else do I store them?

Thanks


Answers (3)