Cipher methods-cryptography, Computer Network Security

Cipher Methods

There are 2 methods of encrypting plaintext:

• Bit stream method – every bit in the plaintext bit is transformed into a cipher bit one bit at a time.
• Block cipher method – the message is divided into blocks (for example sets of 8-, 16- or
32-bit blocks) and then each block of plaintext is transformed into an encrypted block of cipher bits by using an algorithm and a key.

Bit stream method which is uses algorithm functions like XOR, while block cipher method can use substitution, transposition, XOR, etc.

Substitution cipher

Substitution cipher substitutes one value for the other value. The following are the different types of substitution:
• Monoalphabetic substitution – It uses one alphabet to substitute. Simple method but powerful if combines with other operations.
• Polyalphabetic substitution – It is more advanced method which uses two or more alphabets.
• Vigenère cipher – It is an advanced type of cipher which uses simple polyalphabetic code that is made up of 26 distinct cipher alphabets.

Transposition cipher


Transposition cipher rearranges values within the block to create ciphertext.

Exclusive OR (XOR)

It is a function of Boolean algebra where the two bits are compared to each other
•     If the two bits are identical, result is 0
•     If the two bits not identical, result is 1

Vernam cipher

This is developed at AT&T that uses set of characters once per encryption process.

Book (or Running Key) cipher

This method uses text in book as key to decrypt a message where ciphertext contains codes which represents page, line and word numbers

Hash Functions

Hash functions are mathematical algorithms that generate message summary or digest to confirm message identity and confirm no content has changed. Hash algorithms are publicly known functions that create hash value. Use of keys is not needed, but message authentication code (MAC) may be attached to a message. This method is mostly used in password verification systems to confirm identity of user.

Posted Date: 10/8/2012 7:10:58 AM | Location : United States







Related Discussions:- Cipher methods-cryptography, Assignment Help, Ask Question on Cipher methods-cryptography, Get Answer, Expert's Help, Cipher methods-cryptography Discussions

Write discussion on Cipher methods-cryptography
Your posts are moderated
Related Questions
Around the globe the bank controlled Co-ops (Visa, MasterCard, Discover, and American Express) have rolled out millions of smart cards under the EMV (Europay, MasterCard, VISA) sta

A Network is described as a system for connecting computers using a single transmission technology. The computers can interact with each other in a network. They can receive an

WFABilling project in Java:  Project Title: WFABilling   Role                      : Developer Domain                 : Tele-Com Environment          : Java, J2EE, S


Question (a) A CRC is constructed to generate a 4-bit FCS for an 11-bit message. The divisor polynomial is X 4 + X 3 + 1 (i) Encode the data bit sequence 00111011001 using po

POINT-TO-POINT: In Point-to-Point topology there are two kind of topologies. 1) STAR topology 2) TREE topology In star topology each and every computer is connect

Categories of Controls Controlling risk through mitigation, avoidance or transference is accomplished by implementing controls. There are 4 effective approaches to select the co

Question 1:  Describe the functioning of cloud computing. Question 2: Discuss on "Platform as a Service". Question 3: Discuss the steps involved in effective co

Example 3: Logic bombs In the year 2000, Timothy Lloyd was found responsible of causing $10 million and $12 million of damage to Omega Engineering, an American company specializ

QUESTION (a) Compare and contrast phishing and pharming attacks (b) Nowadays, web defacement may not always be visual (i) Explain web defacement (ii) What is the main