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

Explain in des data encryption standard, Explain in DES Data Encryption Sta...

Explain in DES Data Encryption Standard : DES stands for Data Encryption Standard and is explained as follows: DES is at present the most widely used key cryptographic systems

Algorithm, algorithm on simple intrest

algorithm on simple intrest

Ethernet network, QUESTION : a) A datagram of 3000 bytes has to travel...

QUESTION : a) A datagram of 3000 bytes has to travel over a network with a MTU size of 1000 bytes. Describe how fragmentation can be used to solve this problem. You should pr

State the fermat-euler theorem, Question: (a) Prove that every positive...

Question: (a) Prove that every positive integer n can be factorized into a product of prime powers. (b) State the Fermat-Euler theorem as needed in the RSA system. (c) Us

Tcp- reliable transport service, TCP-RELIABLE TRANSPORT SERVICE INTRO...

TCP-RELIABLE TRANSPORT SERVICE INTRODUCTION:  TCP is the major transport protocol architecture in the TCP/IP suite. It uses unreliable datagram function offered by IP whe

Explain how ftp works, QUESTION (a) FTP is a protocol used for the de...

QUESTION (a) FTP is a protocol used for the delivery of files across networks. Explain how FTP works (support your answer with a diagram). (b) How does TCP perform the gi

Calculate alpha and beta value caesar cipher, Task 1 a. Consider the t...

Task 1 a. Consider the table showing the relative frequencies of letters in English. Arrange the frequencies from largest to smallest, and make a cumulative plot, using Exc

Project, Network diagram for a mediacal care

Network diagram for a mediacal care

Mention most relevant clause of iso 27001:2005, QUESTION (In this ques...

QUESTION (In this question, you will need to use the ISO 27001:2005 and ISO 27002:2005 standards) For each of the situations below, comment on the following: 1. Mention

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