Discussion Locked

Data Encrytption

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How is data encrypted in a visual basic program using any of the standara data encryption algorithms. Does VB has any support like java.security package in it. I any support how to code for that, for ex to encrypt a password on an intranet

9 replies

by donq

Data Encryption does exactly what it says by removing (and replacing) any and all logical patterns from whatever is encrypted (be it text, graphics, sound, or whatever). Data Enxcyption is not program (java secuurity package) or language (VB) specific. If you wish to write a program to encrypt your data instead of purchasing or using existing encryption algorithms you may own I suggest you contact someone over the Internet matching an "Encription" search???

by asjwm2

The simplest encryption is the
"monoalphabetic substitition", where you
write the standard English alphabet, and
under it the same alphabet shifted a number
of places to the right. Julius Caesar used
it. The next is the "polyalphabetic
substitution", where the alphabet is numbered
from 0 to 25, and modular arithmetic is used.
For example, one uses two alphabets, one for
the even and one for the odd positions of the
original message. The first alphabet uses the
permutation p(l) = (3*l) mod 26, and the 2nd
uses p(l) = ((5*l)+13)mod 26). l stands for
letter. Thus in the 1st, p(B)=d, because 3*1
mod 26 = 3, and so the encryption of B
(original) is d (encrypted). Look up
"Vigenere tableau" for a more advanced
outlook; then try the RSA encryption
algorithm (unbreakable) and actually only
about a screen to code in C++.
It's tough, so good luck !!

by lo

May be a bit obvious but ...

Remember that anything you encrypt needs to be decrypted at the other end before using.
If you encrypt a password and transmit, before it can be used, a decryption process will need to decrypt before the receiving end can use the value.

by agibbs

I have a good VBScript function (should work in VB too) that will encrypt plaintext using the standard RSA Security RC4 algorith. It's too big to put here, shoot me an email at agibbs@kanebpipeline.com. I use this function all the time to do just what you're asking -- encrypt people's passwords and credit card numbers on my website.

This discussion is closed to new replies.