Chapter 1: Q10E (page 48)
Show that if and if Divides
Short Answer
It is proved that if and divides then .
Chapter 1: Q10E (page 48)
Show that if and if Divides
It is proved that if and divides then .
All the tools & learning materials you need for study success - in one app.
Get started for freeA -ary tree is a rooted tree in which each node has at most children. Show that any -ary tree with nodes must have a depth of .Can you give a precise formula for the minimum depth it could possibly have?
Show that any binary integer is at most four times as long as the corresponding decimal integer. For very large numbers, what is the ratio of these two lengths, approximately?
Letdenote the set. For each of the following families of hash functions, say whether or not it is universal, and determine how many random bits are needed to choose a function from the family.
(a) , whereis a fixed prime and
Notice that each of these functions has signaturethat is, it maps a pair of integers into a single integer in.
(b) is as before, except that nowis some fixed power of.
(c) is the set of all functions.
Give an efficient algorithm to compute the least common multiple of two n-bit numbers and , that is, the smallest number divisible by both and . What is the running time of your algorithm as a function of ?
Digital signatures, continued.Consider the signature scheme of Exercise .
(a) Signing involves decryption, and is therefore risky. Show that if Bob agrees to sign anything he is asked to, Eve can take advantage of this and decrypt any message sent by Alice to Bob.
(b) Suppose that Bob is more careful, and refuses to sign messages if their signatures look suspiciously like text. (We assume that a randomly chosen messagethat is, a random number in the range is very unlikely to look like text.) Describe a way in which Eve can nevertheless still decrypt messages from Alice to Bob, by getting Bob to sign messages whose signatures look random.
What do you think about this solution?
We value your feedback to improve our textbook solutions.