Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Q1 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

Q2
In the following Θ denotes one of the following operators: 'or', 'xor' or 'and'.
Input1 Θ input2 = Result where, input1, 2 are 'A' and 'B' and Result is one of C, D, or E.
which operation will yield
input1(2) Θ result = input 2(1)

Q3 Using the English alphabet (i.e., mod 26 arithmetic) let plaintext = {p1, p2,... , pn} and corresponding ciphertext = {c1, c2,... , cn}.
Suppose the encryption function is ci = pi + 10 (mod 26). You receive the ciphertext message EWEM SC K QBOKD CMRYYV
What is the decryption function, and the decrypted/recovered plaintext? What type of cipher is this? Show your calculations.

Q4 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 = 3 and public modulus p = 809.
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 = 291.
What is the value of your shared secret key? Can you guess Bob's secret value SB and what it would be? Show steps of your calculations

Q5 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, REGAL, 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.

Q6 Consider the following plaintext message: THE SIXTEENTH PRESIDENT WAS ABRAHAM LINCOLN.
a. (3 pts) If this message is sent unencrypted and successfully received, what is its entropy? And why?
b. (3 pts) If this message is encrypted with DES using a random 56-bit key, what is the encrypted message's entropy? And why

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91231313
  • Price:- $55

Guranteed 36 Hours Delivery, In Price:- $55

Have any Question?


Related Questions in Computer Engineering

Sample a signal every 05 milliseconds for 16 signal levels

Sample a signal every 0.5 milliseconds for 16 signal levels. Then, transmit this signal through a noiseless channel. What is the data rate? If we double the sample rate, what is the data rate?

At a college 66 of courses have final exams and 56nbsp of

At a college, 66 % of courses have final exams and 56 % of courses require research papers. Suppose that 45 % of courses have a research paper and a final exam.  Find the probability that a course has NONE of these two r ...

Suppose the following matrix represents the number of saws

Suppose the following matrix represents the number of saws ordered from your company each month over the last year. saws = [1,4,5,3,7,5,3,10,12,8, 7, 4] All the numbers should be zero or positive. (a) Use an if statement ...

A community hospital wants to estimate the body mass index

A community hospital wants to estimate the body mass index (BMI) of its local population. To estimate the BMI with an error of at most 0.5 at a 95% confidence level, what sample size should they use? The standard deviati ...

Question 52 consider the following objects and their

Question 5.2: Consider the following objects and their properties: Car: fuel capacity, serial number, passenger capacity, net weight, license plate Boat: fuel capacity, serial number, passenger capacity, net weight, draf ...

Question suppose we run dfs on a undirected graph g that

Question : Suppose we run DFS on a (undirected) graph G that has edge weights and is connected (there is a path connecting any two vertices of G). (a) Prove that the DFS tree is a spanning tree of G. (b) Recall that the ...

Suppose you roll a standard 6-sided die if you roll a 1 1

Suppose you roll a standard 6-sided die. If you roll a 1 (1), you randomly select one chip from a bowl containing 2 red (R) and 3 white (W) chips. If you don't roll a 1 (1 c ), you randomly select 1 chip from a bowl cont ...

Question initial post respond to each prompt below1describe

Question: Initial Post: Respond to each prompt below. 1. Describe one hardware component that are essential to YOU as a consumer. Provide three options (brand, style, etc.) for the component. 2. Offer two new or interest ...

Suppose that a weapons inspector must inspect each of 4

Suppose that a weapons inspector must inspect each of 4 different sites 2 times, visiting one site per day. The inspector is free to select the order in which to visit these sites, but cannot visit site X, the most suspi ...

Consider a valleyed array a1 2 middot middot middot n with

Consider a valleyed array A[1, 2, · · · , n] with the property that the subarray A[1..i] has the property that A[j] > A[j + 1] for 1 ≤ j (a) What is a recursive algorithm that takes asymptotically sub-linear time to find ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As