Cryptology Basics
Cryptology Basics
CLASSICAL CRYPTOGRAPHY
MONOALPHABETIC CIPHERS:
The key is such that each alphabetic character of plaintext is mapped to a
unique alphabetic character in the cipher text.
The examples include:
b) SUBSTITUTION CIPHERS:
The key is any permutation of letters; need not be a shift, for example
So that a b c>> c v b
c) AFFINE CRYPTOSYSTEM
Example
plaintext
A F F I N E C I P H E R
:
1
x: 0 5 5 8 13 4 2 8 7 4 17
5
3 2 8
5x + 8 8 33
3
48 73
8
18 48
3
43 28 93
POLYALBHABETIC CIPHERS:
b) HILL CIPHER
Since 'A' is 0, 'C' is 2 and 'T' is 19, the message is the vector:
c) PERMUTATION CIPHER
BLOCK CIPHER
The most important symmetric (meaning the same key is used for both
encryption and decryption ) algorithms are block ciphers .the general
operation of all the block ciphers is the same – a given number of bits of
plaintext (a block) is encrypted into a block of cipher text of the same
size. This is in contrast to stream ciphers which encrypt one bit at a time.
There are several modes for block encryption:
A) ELECTRONIC CODEBOOK (ECB) MODE
It is the simplest mode of operation for a block cipher. The input data is
padded out to a multiple of the block size, broken into a integer number
of blocks, each of which is encrypted independently using the key. In
addition to simplicity, ECB has the advantage of allowing any block to be
decrypted independently of the others. Thus, lost data blocks do not
affect the decryption of other blocks. The disadvantage of ECB is that it
aids known-plaintext attacks. If the same block of plaintext is encrypted
twice with ECB, the two resulting blocks of cipher text will be the same.
BBB
Cc BLOCKBBBBB
CRYPTOGRAPHIC ATTACKS
A cryptographic attack is a method for circumventing the security of a
cryptographic system by finding a weakness in a code,
cipher, cryptographic protocol or key management scheme. This process
is also called "cryptanalysis “.
Hiding the Data in Software and Circuitry - data can be hidden in the
layout of the code distributed in a program or the layout of the electronic
circuit on a board.