Web Development
9 replies
by donq
by ak_sistla
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 ak_sistla
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 ak_sistla
by agibbs
by ak_sistla
by ak_sistla
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending