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

  Find the optimal location for oliveira two distribution

Find the optimal location for Oliveira's two distribution centers in this expanded version of the problem.

  Write a mips program to complete the following functions

Write a MIPS program to complete the following functions. You must write comments and follow the register convention.

  Question based on artificial intelligence

If the brain is a computer and the mind its workings, is this fitting analogy of the computer and its software? What would happen if we had dedicated computers with a huge number of neuron circuits?

  For each layer of the fcaps

For each layer of the FCAPS (fault, configuration, accounting, performance, security), discuss the management function in detail and how the separation allows for the identification and allocation of the correct resources

  Draw the hieararchy chart

Draw the hieararchy chart and then plan the logice for a program that calculates a person's body mass index BMI. BMI is a statistical measure that compares the person's weight and height.

  How to break 4 digit numbers to two parts in java

Help me how to break 4 digit numbers to two parts (2 digits and 2 digits) in java

  Show by induction

Show by induction that n^5- n is divisible by 5 for all n ? 0.

  Perform a computer forensic investigation

Is it easier to perform a computer forensic investigation if the suspect's computer is a Linux or UNIX system instead of Windows? Does the type of operating system affect the process at all? Consider all flavors of Linux/UNIX and Windows.

  Discuss strategies to dilute manager-s anger

Discuss strategies you will use to dilute this manager's anger. Discuss how you will get them both to support your recommendations.

  Describe two different kinds of communication software

Is Web search a database query? Explain your answer.

  Evaluate the natural settings of the test environment

Describe and assess the evaluation method being used by the testing company, i.e., nonvisual and verbal recording of browser activities and tester's vocal comments and evaluate the natural settings of the test environment for Web users

  Write a program to input the month and day of the birthday

Write a program to input the Month and Day of the birthday then use case statements to output the birthstone, and month. You can use if statements for the horoscope sign. You should use a function to test the Date and be sure it is valid.

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