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 possible attacks on rsa encryption, Problem (a) Describe RSA a...

Problem (a) Describe RSA algorithm with an example. (b) Answer the following RSA encryption, given the values of the primes are: p = 17, q = 11 and choosing e = 7. (c)

CNSS, Assume that a security model is needed for the protection of informat...

Assume that a security model is needed for the protection of information in your class. Using the CNSS model, examine each of the cells and write a brief statement on how you would

How an attacker can effectively de-layer and analyse data, Around the globe...

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

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

Pgp encryption, Produce a short report of your experiences in installing an...

Produce a short report of your experiences in installing and using PGP. The report should be written in the form of a journal that contains at least the following items: A de

Address resolution , Mapping between a hardware address and a protocol addr...

Mapping between a hardware address and a protocol address is known Address Resolution. A router or host uses address resolution when it requires to transmit a packet to another dev

Explain the approaches to lric modeling, (a) Cost allocation mechanisms ar...

(a) Cost allocation mechanisms are important when it comes to establishing other aspects of inter-firm compensations and how these are transferred to the users. There are two pri

Pinging a web server, Ask quIf you are pinging a web server from a user’s c...

Ask quIf you are pinging a web server from a user’s client PC, how might the statistical information provided by ping be useful to you?estion #Minimum 100 words accepted#

Hashing, Hashing is the transformation of a string of characters into a g...

Hashing is the transformation of a string of characters into a generally shorter fixed-length key or a value that presents the original string. Hashing is used to index and retri

Listing assets in order of importance-risk management, Listing Assets in Or...

Listing Assets in Order of Importance Weighting should be created for each category based on the answers to questions. The relative importance of each asset is calculated usin

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