F denotes false and t denotes true

Assignment Help Basic Computer Science
Reference no: EM13691821

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

Reference no: EM13691821

Questions Cloud

Identifying a real-world business problem : Identifying a real-world business problem
What type of business questions do descriptive : What type of business questions do descriptive
What have you done with your hair : What have you done with your hair
On media bias : On Media Bias
F denotes false and t denotes true : F denotes false and T denotes True
Describe the necessity of secure architecture : Describe the necessity of secure architecture in information systems
Quality healthcare through quality information : Quality Healthcare through Quality Information
Possibly liscense cub or act as a service provider : What is your opinion on whether CenterPoint should possibly liscense CUB or act as a service provider?
Application communications plan : Application Communications Plan

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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