Question

In: Computer Science

Consider each situation in turn and for each say whether hashing, encryption or both would be...

Consider each situation in turn and for each say whether hashing, encryption or both would be applicable, and briefly outline how it would be used.

  1. A user logs in to an online shop.
  2. A user shares a document with another person over a network. The document is not confidential, but the parties involved want to be able to check the document has not been accidentally corrupted on route.
  3. A user shares a document with another person over a network and wants to be able to 'sign' it, so the recipient can be sure who the document came from

Solutions

Expert Solution

hashing:

  • converts data of any length to a fixed length
  • one-way
  • helps in checking the authenticity of the data transferred

encryption:

  • converts data into unreadable format
  • two-way
  • helps in protecting the data transferred from unintended receivers

1. A user logs in to an online shop.

  • Uses encryption
  • Only authenticated users are allowed to login, so they use a password which helps in identifiying them

2. A user shares a document with another person over a network. The document is not confidential, but the parties involved want to be able to check the document has not been accidentally corrupted on route.

  • Uses hashing
  • Hashing the document and comparing it with the hash of document sent by the sender will identify whether the document is tampered or not.  

3. A user shares a document with another person over a network and wants to be able to 'sign' it, so the recipient can be sure who the document came from

  • Uses encryption and hashing
  • Here the document is signed => the document is hashed. The sender encrypts the document with their private key. The receiver just have to use the public key of sender to decrypt and to check the signature
  • The document is signed by hashing it and this will act as the signature
  • The receiver needs to compare the received hash value with the hash of document.

Related Solutions

Write whether or not each situation would lengthen or shorten a contract, ceteris paribus. a) a...
Write whether or not each situation would lengthen or shorten a contract, ceteris paribus. a) a highly complex contracting environment with high legal fees b) an increased need for specialized machinery inputs c) a move from highly specialized inputs to more basic inputs
1. For each of the following purchases, say whether you would expect the degree of imperfect...
1. For each of the following purchases, say whether you would expect the degree of imperfect information to be relatively high or relatively low: a. buying apples at a roadside stand; b. buying dinner at the neighborhood restaurant around the corner; c. buying a used laptop computer at a garage sale; d. ordering flowers for your friend in a different city over the Internet.
For each of the following characteristics, say whether it describes a monopoly firm, a monopolistically competitive firm, both, or neither.
5. Problems and Applications Q4For each of the following characteristics, say whether it describes a monopoly firm, a monopolistically competitive firm, both, or neither. (Note: If the characteristic describes neither, leave the entire row unchecked.)CharacteristicMonopolyMonopolistically CompetitiveFaces the entry of new firms selling similar productsProduces at the minimum of average total cost in the long runEquates marginal revenue and marginal costHas marginal revenue less than priceFaces a horizontal demand curveEarns economic profit in the long run
Consider each of the following scenarios and think what you would you do in each situation:...
Consider each of the following scenarios and think what you would you do in each situation: Scenario 1 Blackburn Holdings is an IT organization of 50 workers. As manager you are required to organize training and ongoing support for all employees about current privacy legislation   related to the IT industry. Scenario 2 United Healthcare is a health care provider with over 1,500 workers on four different sites. It has introduced a new detailed email policy for all workers. As manager,...
Consider the following situation. With the power supply off, the current limit one-half of a turn...
Consider the following situation. With the power supply off, the current limit one-half of a turn and the voltage knob completely counterclockwise, a coil is connected to it. A secondary coil is placed just in front and connected it to a galvanometer. If you gently increase the voltage of power supply, explain what you would observe in the galvanometer. Would the needle deflect? Why? If the secondary coil is moved away from the primary coil, would the deflection of the...
State whether or not the situation in each case is a probabilistic situation, and tell why....
State whether or not the situation in each case is a probabilistic situation, and tell why. If it is not a probabilistic situation, reformulate the situation so that it is a probabilistic one. a. the probability that the U.S. secretary of state is a woman. b. the probability that a person will be able to read newspapers more intelligently after completing this course. c. the probability that the soon-to-be-born baby of a pregnant Mrs. Johnson with two sons will be...
State whether or not the situation in each case is a probabilistic situation, and tell why....
State whether or not the situation in each case is a probabilistic situation, and tell why. If it is not a probabilistic situation, reformulate the situation so that it is a probabilistic one. a. the probability that the U.S. secretary of state is a woman. b. the probability that a person will be able to read newspapers more intelligently after completing this course. c. the probability that the soon-to-be-born baby of a pregnant Mrs. Johnson with two sons will be...
For each example below, say whether the person is geographically mobile or immobile, and whether the...
For each example below, say whether the person is geographically mobile or immobile, and whether the person is occupationally mobile or immobile: A) Christiano, a soccer player who will play for whatever team pays him the most B) Shelly, who takes any low‐skilled job in town but doesn’t want to abandon her mother in the local nursing home C) Adam, who maximizes his leisure time by working only 3 months per year by taking any high risk job out there...
For each of the following analogical arguments, consider whether the listed adjustments to the argument would...
For each of the following analogical arguments, consider whether the listed adjustments to the argument would strengthen, weaken, or result in no change to the strength of the original argument. Organic spinach from California was contaminated with E. coli bacteria. Thus, organic lettuce could also be contaminated with E. coli bacteria. a. Suppose the lettuce was from California. b. Suppose the lettuce was not organic. c. Suppose that chard and arugula were also contaminated with E. coli bacteria. d. Suppose...
What would the Health Behavior Model developers would say about whether or not the Theory of...
What would the Health Behavior Model developers would say about whether or not the Theory of Reasoned or theory of Planned Behavior is better than the Health Behavior Model?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT