Question on GenerateIV and GenerateKey

Discussion in 'ASP .Net Security' started by Greg, Mar 3, 2005.

  1. Greg

    Greg Guest

    When a PC executes GenerateIV or GenerateKey, is the key and IV automatically
    stored somewhere on the PC or is one out of luck if they don't manually store
    the key and IV in order to decrypt any document that was encrypted using the
    key and IV?
    Greg, Mar 3, 2005
    #1
    1. Advertising

  2. Hello Greg,

    you have to store the IV and Key yourself, e.g. you can prepend the IV to
    the data you are encrypting (as it is no secret).

    i have a sample up on my blog - check it out.
    http://www.leastprivilege.com/PermaLink.aspx?guid=f73ca1e0-bcfa-4563-862f-eb06ab317075

    ---------------------------------------
    Dominick Baier - DevelopMentor
    http://www.leastprivilege.com

    > When a PC executes GenerateIV or GenerateKey, is the key and IV
    > automatically stored somewhere on the PC or is one out of luck if they
    > don't manually store the key and IV in order to decrypt any document
    > that was encrypted using the key and IV?
    >
    Dominick Baier [DevelopMentor], Mar 4, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page