Chapter 1: Q1E (page 48)
Show that in any base , the sum of any three single-digit numbers is at most two digits long.
Chapter 1: Q1E (page 48)
Show that in any base , the sum of any three single-digit numbers is at most two digits long.
All the tools & learning materials you need for study success - in one app.
Get started for freeLetdenote 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.
Show that if is a nontrivial square root of 1 modulo N , that is if but , then must be composite. (For instance,; thus 4 is a nontrivial square root of 1 modulo 15.)
Consider an RSA key set with p = 17 , q = 23, N = 23 and e = 3 (as in Figure 1.9). What value of d should be used for the secret key? What is the encryption of the message M = 41 ?
In the RSA cryptosystem, Alice’s public key is available to everyone. Suppose that her private key d is compromised and becomes known to Eve. Show that if (a common choice) then Eve can efficiently factor N.
Suppose that instead of using a compositein the RSA cryptosystem (Figure 1.9), we simply use a prime modulus p . As in RSA, we would have an encryption exponent e, and the encryption of a message would be Prove that this new cryptosystem is not secure, by giving an efficient algorithm to decrypt: that is, an algorithm that given and as input, computes . Justify the correctness and analyze the running time of your decryption algorithm.
What do you think about this solution?
We value your feedback to improve our textbook solutions.