How a hacker might go about cracking a message encrypted

Assignment Help Theory of Computation
Reference no: EM131921731

Cryptography and Data Protection

Part I

Q1 a Complete the following Truth Table: F denotes false and T denotes true

 

A

B

C=A or B

D= A xor B

E= A and B

F

F

 

 

 

F

T

 

 

 

T

T

 

 

 

T

F

 

 

 

Q1 b In the following Θ denotes one of the following operators: 'or', ‘xor' or ‘and'.

Input1 Θ input2 = Result where, input1 and,Inpuut2 are ‘A' and ‘B' and Result is one of C, D, or E.

Which operation will yield? (what is Θ?)
input1 (2) Θ result = input 2(1)

Q2 Using the English alphabet (i.e., mod 26 arithmetic) let plaintext = {p1, p2, pn} and corresponding cipher text = {c1, c2, cn}.
Suppose the encryption function is ci = pi + 10 (mod 26). You receive the cipher text message EWEM SC K QBOKD CMRYYV

What are the decryption function, and the decrypted/recovered plaintext? What type of cipher is this? Show your steps.

Q3 You are Alice. You have agreed with your friend Bob that you will use the Diffie-Hellman public-key algorithm to exchange secret keys. You and Bob have agreed to use the public base g = 7 and public modulus p = 1013.

You have secretly picked the value SA = 17. You begin the session by sending Bob your calculated value of TA. Bob responds by sending you the value TB = 839.

What is the value of your shared secret key? Can you guess Bob's secret value SB and what it would be? Show each and every step of your calculations

(for mod calculation, the following identity may be useful
mod( X^n, p) = mod (mod(X,p)*mod(X^n-1, p), p)
mod(X*Y,p) = mod(mod(X,p)*mod(Y,p),p)

Q4 Bob believes that he has come up with a nifty hash function. He assigns a numeric value VChar to each letter in the alphabet equal to the letter's position in the alphabet, i.e., VA = 1, VB = 2, ..., VZ = 26. For a message, he calculates the hash value H = (VChar 1 x VChar 2 x VChar 3 ...x VChar N) mod(26).
Bob uses this function to send a one-word message, GLARE, to his banker Bill, along with his calculated hash value for the message. Alice is able to intercept the message, and generates an alternative message that has a hash value that collides with Bob's original hash value.
Give definition and properties of the hash function.
Show a message that Alice may have used to spoof Bob's message, and demonstrate that its hash value collides with Bob's original hash.

Q5 Consider the following plaintext message: THE SIXTEENTH PRESIDENT WAS ABRAHAM LINCOLN.

a. If this message is sent unencrypted and successfully received, what is its entropy? And why?

b. If this message is encrypted with DES using a random 56-bit key, what is the encrypted message's entropy? And why

Part II

Essay Question: Length: 800- 900 words. Use APA format for in-line citations and references.

Compare and contrast symmetric and asymmetric encryption algorithms.

- Your response should include a brief overview of the cryptographic basis for each type of algorithm, and a comparison of their relative strengths and vulnerabilities.

- Describe how a hacker might go about cracking a message encrypted with each type of algorithm.

- Suggest a specific application for each type of algorithm (symmetric and asymmetric)where the advantages clearly outweigh the disadvantages.

- Remember to address all points

Verified Expert

This assignment is based on the concepts of the theoretical concepts of computer science engineering. In this task, there are two parts, in Part I, there are 5 problems based on the cryptographyand the logic gate, in which we have to evaluate the truth table of OR, AND, XOR, ciphertext secret key etc. In the Part II, we have to provide a report on the comparison of the symmetric and asymmetric encryption algorithm.

Reference no: EM131921731

Questions Cloud

What is the percentage of female who are right-handed : What is the percentage of male who are right-handed? and what is the percentage of female who are right-handed? Summarize the relationship between gender.
Most companies use target percentages for debt-common equity : Most companies use "target" percentages for debt, common equity and preferred equity in their capital structure.
Identify potential abuse or fraudulent trends : Identify potential abuse or fraudulent trends through data analysis. Appraise current laws and standards related to health information initiatives.
Identify at what range of production quantity is best : A producer of pottery is considering the addition of a new plant to absorb the backlog of demand that now exists.
How a hacker might go about cracking a message encrypted : INFA640 - Cryptography and Data Protection - Describe how a hacker might go about cracking a message encrypted with each type of algorithm
Describe plantation slavery as an institution of brutality : Describe plantation slavery as an institution of brutality and also as an economic system. Finally, describe the "Fatal Triangle" or Atlantic system of slave.
Annual cash dividend policy : King Waterbeds has an annual cash dividend policy that raises the dividend each year by 66%. What is the? stock's price if
Identify wedgewood most important innovations : Then explain how Adam Smith's theory of the division of labor applies to Wedgewood's most important innovations. Please be as specific as possible.
How do businessess in general utilize this effectively : How does Product and Brand Strategy and New Product Planning and Development applies to businesses and its importance?

Reviews

len1921731

3/30/2018 5:48:42 AM

This course is DUE on Sunday before 11 pm Eastern Time. I want answer without plagiarism. Please upload solution via my account inbox. Please do not assign an expert already assigned to someone to me to avoid plagiarism

Write a Review

Theory of Computation Questions & Answers

  Finite-state machine design

Create a finite-state machine design to turn your FPGA development board into a simple programmable music box.

  Redundant sequence identi cation

Redundant sequence identi cation

  Compute a shortest superstring

Dynamic programming algorithm to compute a shortest superstring.

  Propositional and predicate logic

Write down a structural induction principle for the PlayTree free type

  Design a syntactic analyzer

Design a syntactic analyzer for the language specified by the grammar

  Design unambiguous grammar to parse expressions

Write a program would read two numbers and then print all numbers between the first and the second, inclusive. Design unambiguous grammar to parse expressions

  Consider a logic function with three outputs

Consider a logic function with three outputs,  A ,  B , and  C , and three inputs,  D ,  E , and  F . The function is defined as follows:  A  is true if at least one input is true,  B  is true

  Considering a single programmed operating system

Considering a single programmed operating system, what is the minimal total time required to complete executions of the two processes? You should explain your answer with a diagram.

  How to construct an nfa

Give a construction that assumes you are given a DFA for L and show how to construct an NFA (with or without ε-moves) to recognize sort(L).

  Equivalence classes to construct minimal dfa for language

How many equivalence classes does this relation have and what are they? Use these equivalence classes to construct the minimal DFA for the language.

  Impact of moore-s law on data center costs

Discuss the impact of Moore's law on data center costs on such things as servers and communications equipment. List at least 3 steps or recommendations your data center can take to offset some or all of the effect of Moore's law.

  Problem encountered in statements in predicate logic

How the problem would be encountered in attempting to represent the following statements in Predicate logic. it should be possible to: John only likes to see French movies.

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