Cipher methods-cryptography, Computer Network Security

Assignment Help:

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.


Related Discussions:- Cipher methods-cryptography

Define shift operation, SHIFT OPERATION:  This operation replaced all...

SHIFT OPERATION:  This operation replaced all bits to the left one position. For example in the diagram below a 16-bit CRC hardware is given, which needs three Exclusive OR (

Define checksum, The method used to check errors is checksum . In this m...

The method used to check errors is checksum . In this method data is treated as a sequence of integers and their arithmetic sum is calculated and the carry bits are added to the

Describe the function of a tap in wmns, Question: (a) A Wireless Mesh N...

Question: (a) A Wireless Mesh Network (WMN) is a communications network made up of radio nodes organized in a mesh topology. i. Describe the function of a TAP in WMNs. ii.

Explain about structure of management information, Question 1 a) What is a...

Question 1 a) What is a NMS? Question 2 Explain about Structure of Management Information Question 3 A)In which UDP port number does a protocol entity receive message?

Encapsulation, ENCAPSULATION Network interface layer adds IP datagram ...

ENCAPSULATION Network interface layer adds IP datagram as data area in hardware frame. Hardware ignores IP datagram message format. Standards for encapsulation defines details

Distinguish between passive and active attacks, Problem (a) Distinguis...

Problem (a) Distinguish between passive and active attacks. (b) Give two reasons why it is important to organise security awareness programs for users. (c) Describe how

Uc, every time i connect to WIFI the UC goes directly to 100% then i doesn'...

every time i connect to WIFI the UC goes directly to 100% then i doesn''t want to come down. what shall i do ?

Tomcat server, how to access tomcat by internet

how to access tomcat by internet

What is the use of digital certificate, Question: (a) What is the use ...

Question: (a) What is the use of digital certificate? (b) What is meant by a hierarchical trust model in a Public Key Infrastructure? How does the Pretty Good Privacy (PG

What do you understand by the concept web of trust, Question: a) Name ...

Question: a) Name a method to allow a person to send a confidential email to another person, without risks of a third-party reading the email. Describe briefly the operations

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd