Link to home
Start Free TrialLog in
Avatar of Emad Gawai
Emad GawaiFlag for United Arab Emirates

asked on

encryption n decryption of data

Hi
I have a programme written in Visual Basic and back end it uses
MS Access. i want to encrypted the data.
when i insert the data it should be encrypted/encoded and when i retrieve it, it should be
decrypted/decoded.
Can some one suggest how to do it.

Thanks

Avatar of Jacamar
Jacamar

Just be creative.  Create a good system for you encryption.  I always have more fun when I make up a new encryption for my codess.
Avatar of Emad Gawai

ASKER

will u give some code just as a sample or give me some idea
thanks
ASKER CERTIFIED SOLUTION
Avatar of Arthur_Wood
Arthur_Wood
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
http://www.visualbasicforum.com/t31778.html

Check out this site.  It has some good basic examples.
Avatar of CyrexCore2k
Zarr made a nice RC4 encryption module.
http://www.zarr.net/vb/download/codedetail.asp?code=46


To use it add the RC4.bas file to your project. Then make a global variable and call it EKEY give EKEY some random value of any length by just kinda pounding on the keyboard ;)

To encrypt data:

MyEncryptedData = RC4("Hello to the world!", EKEY)

To decrypt it:

MyDecryptedData = RC4(MyEncryptedData, EKEY)

Hope this helps
Spencer Ruport

Hi gawai,
This old question (QID 20557509) needs to be finalized -- accept an answer, split points, or get a refund.  Please see http://www.cityofangels.com/Experts/Closing.htm for information and options.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

-->Accept Arthur_Wood's comments as answer

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

GPrentice00
EE Cleanup Volunteer