J
John Young
Hi,
I have written a couple of routines which encrypt and decrypt data using
DESCryptoServiceProvider. Currently, the user has to pass in the string to
encrypt, the key and the IV to the routine. Is there a good way of creating
the IV randomly so that the user does not need to create one themselves? I
will pass the IV back to the user using an out parameter.
Would I use some kind of random generator?
Thanks in advance.
John Young
I have written a couple of routines which encrypt and decrypt data using
DESCryptoServiceProvider. Currently, the user has to pass in the string to
encrypt, the key and the IV to the routine. Is there a good way of creating
the IV randomly so that the user does not need to create one themselves? I
will pass the IV back to the user using an out parameter.
Would I use some kind of random generator?
Thanks in advance.
John Young