Results 1 to 2 of 2

Thread: Encryption

  1. #1

    Thread Starter
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Encryption

    RE:
    DES and TripleDES

    What's the deal with the Initialization Vector (IV) properties of the DES and TripleDES classes?

    Do I need to keep a copy of it alongside the key?

    I want a very simple way to encrypt the contents of a MemoryStream and write the result out to a file.

    Does it matter if the IV is different each time I encrypt / decrypt data? As long as I have the key it should be fine right?
    I don't live here any more.

  2. #2
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    I posted this code I wrote a while ago, but it should help you with your questions:

    http://www.vbforums.com/showthread.php?threadid=235478

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width