Link to home
Start Free TrialLog in
Avatar of lohhian
lohhian

asked on

encyption and decryption

hai, any of you know how to do encryption and decrytion ?
please help. i want example(source code) and explainations.

any type of encryption will do (using Visual Basic).
thanks.
Avatar of siabod
siabod

what kind of encryption are you looking for ?
Or just any ?
Avatar of lohhian

ASKER

just any encryption will do (use for VB).
thanks.
Avatar of lohhian

ASKER

Edited text of question
use the CryptoAPI?
ASKER CERTIFIED SOLUTION
Avatar of anzen
anzen

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
Avatar of lohhian

ASKER

anzen,

can you please leave somo more comments on it.
and what i want is encryption on one code and decryption on one code.

thanks a million. Please !!.
Please explain better, what do You mean by "one code", the routine simply accepts the same code for both the operations,
if You need a "public-key" encryption method it's not that simple
and You'd better go searching for PgP on the net or getting some doc about the MS CryptoAPI !!!

My answer was for a SIMPLE encrypt/decrypt method which was what You requested !!!

Avatar of lohhian

ASKER

anzen, sorry for making you misunderstanding.
your code is okay, good. i like it. (i given you points :))

your example is encryption and descryption in one module, right ?

what i mean,i want is encryption in ONE MODULE and decyption in ONE MODULE.
thanks.
Hmmm something like not allowing an user to encrypt (or decrypt) the data.... tell me more I'll see what to do.

P.S. You can write me directly, my mail is anzen@bolagna.crosswinds.net, let me know.
Avatar of lohhian

ASKER

anzen,
no ... no .. okay, let me tell you one by one.

in a form, there's a text box (to key in), one ENCRYPT command box and one DECRYPT command box.

now, when the user key into the text box, the user click on the ENCRYPT command box to encypt it.

so, know what i want ?? thanks
(can i have your email adress ?, so easy to contact you)