G
Guest
I have written a simple cryptography utility using VS2005 that enccrypts
strings or files using RSA or 3DES. I have no idea how to deal with
remembering the initialization vector [iv] when using 3DES. I currently
generate the IV using the RNGCryptoServiceProvider I then write the IV, in
plain text, to the first line of the encrypted file. [To decrypt I read the
IV then stream all stream all remaining bytes]
How can I keep the IV a secret while not having to "remember it" [Ideally, I
would be able to derive it based on my passphrase]
Thanks for any help with this matter.
strings or files using RSA or 3DES. I have no idea how to deal with
remembering the initialization vector [iv] when using 3DES. I currently
generate the IV using the RNGCryptoServiceProvider I then write the IV, in
plain text, to the first line of the encrypted file. [To decrypt I read the
IV then stream all stream all remaining bytes]
How can I keep the IV a secret while not having to "remember it" [Ideally, I
would be able to derive it based on my passphrase]
Thanks for any help with this matter.