SecurityArena

Guide to Practical Info Security!

Who's Online

We have 12 guests online
CBK Cryptography
Print E-mail
Written by Administrator   
Friday, 24 July 2009 08:48
Article Index
CBK Cryptography
Definitions
Types of Ciphers
Symmetric vs Asymmetric Cryptography
Types of` Symmetric Ciphers
Types of Symmetric Systems
Types of Asymmetric Systems
One-time pad
Hybrid Encryption Methods
Public Key Infrastructure (PKI)
Hashing
Digital signatures
Key Management
Link versus end-to-end encryption
E-mail standards
Web Security
Transport Layer Security (TLS)
IPSec - Internet Protocol Security
Attacks
All Pages

Types of` Symmetric Ciphers

Stream ciphers

In a stream cipher the plaintext digits are encrypted one at a time, and the transformation of successive digits varies during the encryption. In practice, the digits are typically single bits or bytes. It is a symmetric key cipher where plaintext bits are combined with a pseudorandom cipher bit stream (keystream), typically by an exclusive-or (xor) operation. These are more suitable for hardware implementations. Stream ciphers can be designed to be exceptionally fast, much faster than any block cipher.

Characteristics of a strong and effective cipher algorithm include:

  • Long periods of no repeating patterns within keystream values
  • Statistically un predictable keystream, i.e. keystream is not linearly related to the key
  • Statistically unbiased keystream (as many 0’s as 1’s)

Block ciphers

It is a symmetric key cipher operating on fixed-length groups of bits, termed as blocks. Common block sizes are 64 and 128 bits.  Encryption takes place under the action of a user-provided secret key. Decryption is performed by applying the reverse transformation to the ciphertext block using the same secret key.
When we use a block cipher to encrypt a message of arbitrary length, we use techniques known as modes of operation for the block cipher. The standard modes are Electronic Code Book (ECB), Cipher Block Chaining (CBC), Cipher Feedback (CFB), and Output Feedback (OFB).



Last Updated on Friday, 28 August 2009 05:01
 
Please register or login to add your comments to this article.
Comments (1)
-3 Wednesday, 05 August 2009 12:44
Very helpful....
Tabulated comparisons of the two cryptography, really help to remeber...
thanx
keep up the good work
 
Joomla 1.5 Templates by Joomlashack