Write a program based on encryption scheme

Assignment Help Computer Engineering
Reference no: EM132497

Question

Two parties A and B try to communicate with following encryption scheme-both sides agree on same long random bit sequence (you could assume one of your own choices). When A wish for to send B an k-bit message, it takes k bits from long random sequence, XOR each bit of k bit message with them, and send result ("encrypted message"). While B receives the encrypted message, it takes k bits from her own copy of long random sequence, and XOR each bit of the k bit encrypted message to get back original message.

The two parties are concerned with possibility that a middleman which perform the message transfer will take encrypted message sent by A and change it, previous to forwarding the message to B; and B will get the message without knowing that it is modified. So they add the following "protection".

Append CRC to the original message, before encrypting whole message (original message + CRC) using the above method (n-bit XOR). While B gets the encrypted message, it is decrypted, and then CRC is checked.

If CRC is incorrect, B concludes that the communication is modified, and ignores it.

Reference no: EM132497

Questions Cloud

Write down program using c language programming : Write down program using C language programming.
Evaluate the amount of translation adjustment : Evaluate whether the companys foreign operations have a predominant functional currency
Write general journal entries to record the transactions : Write general journal entries to record the transactions and Write a stockholders' equity section as of the close of business on December 31, 2012.
What is social rehabilitation : What is social rehabilitation How is it different from medical and vocational rehabilitation
Write a program based on encryption scheme : Write a program based on encryption scheme.
Example on balance sheet : What amount can be reported as the noncontrolling interest in the consolidated balance sheet on January 1, 20X9?
Execute a recursive directory traversal : Execute a recursive directory traversal.
What are dangerous goods : What are dangerous goods What is the difference between hazardous materials, dangerous goods and hazardous substances?
Prepare visual basic application : Prepare visual basic application.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Write down a little man computer program

Write down a Little Man Computer program.

  How many address lines are needed to access memory

How many address lines are needed to access memory.

  Calculate the output value of problem

Design a program that reads in a text file with drawing commands and then outputs a bitmap with all the items drawn correctly

  What is oracle administration documentations

What is oracle administration documentations

  What is a backup strategy or active directory?

What is a backup strategy or Active Directory? The small business that you created new domain controllers for now wants you to develop a backup and recovery plan for Active Directory.

  What are prospect trends for healthcare informatics

What are prospect trends for healthcare informatics.

  Procedure to generate indexes for foreign keys

Procedure to generate indexes for foreign keys.

  Spreadsheet model of the heat transfer situation

Spreadsheet model of the heat transfer situation

  Describe the mechanics of Buffer overflows

Prepare a complete tutorial, including an analogy to describe the mechanics and a graphic to support your analogy, on one of the subsequent areas

  How to expand class linkedlisttype

Expand class linkedListType. Write down a function that returns the info of the kth element of the linked list. If no such factor exists, output an appropriate message.

  The difference between roles and groups

The difference between roles and groups

  Explain networking of cis 505

Explain networking of CIS 505? 1. Network Neutrality 2. Web2.0

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