Click to See Complete Forum and Search --> : Encryption...


isabelle
February 25th, 2000, 02:02 PM
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

Johnny101
February 25th, 2000, 02:43 PM
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