Beruflich Dokumente
Kultur Dokumente
INTRODUCTION
In todays world, where we depend on our computer for every task
from mail services to banking and shopping, it is vital to make sure
that our data is secure such that it is not leaked to any third party.
External access to personal data such as passwords, secure files and
credit card details may lead to the misuse of information entailing our
credentials.
This, is where the concept of cryptography comes into play.
Cryptography is the science or study of the techniques of secret
writing, especially code and cipher systems. Cryptography is used by
everyone from banks to army to government facilities. This is a
practice that ensure that even if the data is somehow intercepted,
translating the raw data into comprehensible code without knowledge
of the methods used to create it is close to impossible.
e_H
He_
Underscore is used to represent a blank space. Now we read row-wise
to get the encrypted message:
e_HHe
Hence, using a 2 layer encryption method our messages are now
secure.
Second, we take an example to understand how the decryption
process works:
INPUT: e_HHe
First we fill a 2D array row-wise. This is done for EACH WORD
SEPARATELY.
e_H
He
Now this is read column-wise and stored in another array, giving us:
eH eH
Now this is converted to binary, the binary representation for the
above is:
0110010101001000
The 01 is removed from the front and it is filled in an 2D array rowwise, giving us:
100101
001000
Next, we read the characters column-wise to get the binary
100001100010
After adding the 01s which we removed previously, we get
0110000101100010
On converting this to characters we get
ab
After this is done for all the words, two in this case, the words are
combined to get the original sentence.
ab ab