Tuesday, June 24, 2008

Two Rules and Brute - Force Attack

For any algorithm that is used for Cryptography, it must satisfy the two conditions or at the minimum one condition must atleast be satisfied.

They are:

1. The cost of breaking the Cipher should exceed the value of the Encrypted Information.

2. The time required to break the cipher should exceed the useful lifetime of the information.


Brute-Force Attack:


The method of using all the possible keys to get the intelligent plain text from cipher text is called the Brute-Force Attack.

This is the most commonly used attack.

For example: If a encryption method is performed with a key length of 2 bits, then there is a possibility of 4 keys.

in general this is represented as:

if the key length is of "n" bits,

then,

the number of possible keys is equal to 2^n.

Thursday, June 19, 2008

dimensions of cryptography

With the use of Symmetric encryption, the principle security problem is maintaining the secrecy of the key..


Cryptology is the combination of Cryptography and Cryptanalys


There are 3 dimensions for cryptography:

1. Type of operation used for transforming plaintext to ciphertext.

In this there are two methods:
  • Substitution - which means each element in the plain text is mapped into another element.
  • Transposition - which means each element in the plain text is rearranged.
Most of the systems, which are also referred as product systems, involve multiple stages of substitution and transpositions.


2. Number of keys used.

if the same key is used by the sender and the receiver then it is called symmetric/single-key/secret-key/conventional encryption.


3. The way in which the plaintext is processed.

i.e. whether the data is processed in form of blocks (block cipher) or continuously (stream cipher)


Custom Search