Show how to construct a send-constrained channel from a receive-constrained channel, and vice versa. Hint: use a trusted node connected to the given channel.
What will be an ideal response?
Let rc be a receive-constrained channel. We shall show how to construct a channel s(rc), which is send- constrained.
We use a trusted node N. When it receives a message m, it uses the receive-constrained channel to return to the sender a signed hash sig{h(m, t)}, where t is the time by N's clock.
Let c be any (possibly unconstrained) channel connecting the parties that we wish to be able to communicate. We construct s(rc) from c and N. The rules for sending and receiving on s(rc) are as follows:
```
To send m on s(rc):
send m to N
receive < t, sig{h(m, t)}> from N over rc send
To receive m on s(rc):
receive
verify currency of t and freshness of h
Discard m if verification fails, else receive m.
```
We assume that the receivers' clocks are synchronised to N's clock. The timestamp (and hence state of the sender) is deemed current if it is within a given bound of the time on the receiver's clock. To prevent replay attacks, the receiver need remember the hashes for only a limited time: older messages will have a non-current timestamp.
In a similar fashion, we can implement a receive-constrained channel from a send-constrained channel. All messages are sent (over any channel) to a trusted node, which stores them. Receivers must use a particular send-constrained channel to reach that node, which responds with the next message for them.
You might also like to view...
What names are displayed in the list box by the following program segment?
``` Dim newYork As String = "Manhatten,Bronx,Brooklyn,Queens,Staten Island" Dim boroughs() As String = newYork.Split(","c) lstBox.Items.Add(boroughs(0)) lstBox.Items.Add(boroughs.Min) ``` (A) Brooklyn and Queens (B) Manhatten and Staten Island (C) Bronx and Manhatten (D) Manhatten and Bronx
All programs can be written in terms of three control structures, namely, _________ , __________ and _______.
Fill in the blank(s) with the appropriate word(s).
In a(n) _____ relationship, an object of a derived class also can be treated as an object of its base class.
Fill in the blank(s) with the appropriate word(s).
Before you publish a site to a remote server, it is extremely important that you test it to make sure the content is accurate and up to date and that everything is functioning properly.
Answer the following statement true (T) or false (F)