(Q) The encryption function

Part II (6 points each, Total 30)Q1a Complete the following Truth Table: F denotes false and T denotes trueA B C=A or B D= A xor B E= A and BF FF TT TT F
Q1b In the following Θ denotes one of the following operators: ’or’, ‘xor’ or ‘and’.Input1 Θ input2 = Resultwhere, input1 and, Input2 are ‘A’ and ‘B’ and Results are C, D, or E from the above table.Which operation will yield? (what is Θ?)input1 Θ result = input 2input2 Θ result = input 1Please show proof for one, or disprove other twoHint:CheckInput1 OR result = Input2?Input2 OR result = Input1? For results C, D and E, and inputs A and BRepeat replacing OR with AND, and XORAs soon as the given operator is not valid for an operation go to the next operator.Please show proof. Without proof you will get partial credit only
Q2 Using the English alphabet (i.e., mod 26 arithmetic) let plaintext = {p1, p2, pn,} and corresponding cipher text = {c1, c2, cn}.{start A as 1, B as 2 and so on}Suppose the encryption function is ci = pi + 8 (mod 26).You receive the cipher text message CUCKQAVWECUOKWhat type of cipher is this?What is the decryption function, and the decrypted/recovered plaintext, (insert spaces to make readable)?Show all 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 = 941.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 = 268.
What is the value of TAWhat 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, if you use Excel for mod calculation include the spreadsheet, for any other method include the screenshot of that method[without the spreadsheet or screenshot, you will not get the full credit]for mod calculation, the following identity may be usefulmod(XY,p) = mod[mod(X,p)mod(Y,p),p]mod ( X^n, p) = mod [mod(X^k, p)*mod(X^m, p), p]; where k+m=ne.g. mod (X^17, 941) = mod [mod (X^8, 941) *mod (X^9, 941), 941]; where 8+9=17
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, “FATHER” to his supervisor 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: IT IS EXCITING TO KNOW THAT WE MAY HAVE FOUND A PLANET SIMILAR TO EARTH MATTER IN THE UNIVERSE.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

regards to the osmosis of pieces into lumps. Mill operator recognizes pieces and lumps of data, the differentiation being that a piece is comprised of various pieces of data. It is fascinating regards to the osmosis of pieces into lumps. Mill operator recognizes pieces and lumps of data, the differentiation being that a piece is comprised of various pieces of data. It is fascinating to take note of that while there is a limited ability to recall lumps of data, how much pieces in every one of those lumps can change broadly (Miller, 1956). Anyway it’s anything but a straightforward instance of having the memorable option huge pieces right away, somewhat that as each piece turns out to be more natural, it very well may be acclimatized into a lump, which is then recollected itself. Recoding is the interaction by which individual pieces are ‘recoded’ and allocated to lumps. Consequently the ends that can be drawn from Miller’s unique work is that, while there is an acknowledged breaking point to the quantity of pi>
GET ANSWER

Share on Facebook

Tweet

Follow us

Order from Academic Writers Bay
Best Custom Essay Writing Services

QUALITY: 100% ORIGINAL PAPER NO PLAGIARISM – CUSTOM PAPER

Why Choose Us?

  • 100% non-plagiarized Papers
  • 24/7 /365 Service Available
  • Affordable Prices
  • Any Paper, Urgency, and Subject
  • Will complete your papers in 6 hours
  • On-time Delivery
  • Money-back and Privacy guarantees
  • Unlimited Amendments upon request
  • Satisfaction guarantee
SATISFACTION

How It Works

  • Click on the “Place Your Order” tab at the top menu or “Order Now” icon at the bottom and a new page will appear with an order form to be filled.
  • Fill in your paper’s requirements in the “PAPER DETAILS” section.
  • Fill in your paper’s academic level, deadline, and the required number of pages from the drop-down menus.
  • Click “CREATE ACCOUNT & SIGN IN” to enter your registration details and get an account with us for record-keeping and then, click on “PROCEED TO CHECKOUT” at the bottom of the page.
  • From there, the payment sections will show, follow the guided payment process and your order will be available for our writing team to work on it.

About AcademicWritersBay.com

AcademicWritersBay.com is an easy-to-use and reliable service that is ready to assist you with your papers 24/7/ 365days a year. 99% of our customers are happy with their papers. Our team is efficient and will always tackle your essay needs comprehensively assuring you of excellent results. Feel free to ask them anything concerning your essay demands or Order.

AcademicWritersBay.com is a private company that offers academic support and assistance to students at all levels. Our mission is to provide proficient and high quality academic services to our highly esteemed clients. AcademicWritersBay.com is equipped with competent and proficient writers to tackle all types of your academic needs, and provide you with excellent results. Most of our writers are holders of master’s degrees or PhDs, which is an surety of excellent results to our clients. We provide assistance to students all over the world.
We provide high quality term papers, research papers, essays, proposals, theses and many others. At AcademicWritersBay.com, you can be sure of excellent grades in your assignments and final exams.

NO PLAGIARISM