CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Encryption...

  1. #1
    Join Date
    Jan 2000
    Location
    canada
    Posts
    124

    Encryption...

    Is there a way to encrypt a file in VB?

    I want to make data doesn't make sense in a file.

    And how can I get back my data?

    Someone could answer to my questions?
    Isabelle


  2. #2
    Join Date
    Jan 2000
    Location
    MO, USA
    Posts
    1,506

    Re: Encryption...

    Well, I'm not sure if there anything in VB that would encrypt the whole file in one swing, but you do by reading it line by line and encrypting it and then saving it. Then when you need to get it back, just reverse the encrtyption. For a good example of this (the encryption) look for the thread "Looking for a BAS Module for Crypto API" posted by Lothar. Thats got all the info should need for the encryption.

    Hope this helps,
    john

    John Pirkey
    MCSD
    www.ShallowWaterSystems.com
    John Pirkey
    MCSD (VB6)
    http://www.stlvbug.org

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

Featured