Home Page > > Details

MATH/CSCI 4116

Cryptography

Assignment 5

1. We know that ϕ(ab) = ϕ(a)ϕ(b) whenever gcd(a, b) = 1. Give

an example that shows that this identity is, in general, not true when

gcd(a, b) 6= 1.

2. Use the stream cipher discused in class (Section 2.6), with n = 7

and c0 = c1 = 1, c2 = c3 = 0, c4 = c5 = c6 = 1. Encrypt w =

1110011 1110001 1010001 using the key k = 1010011.

3. Find the sample space and probability distribution that model flipping

two coins. Describe the event “at least one coin comes up heads”

formally and compute its probability.

4. We throw two dice. Determine the probability that they both show

different numbers under the condition that the sum of both numbers is

even.

5. (a) Determine the integer n such that the probability for two of n

people having the same birthday is at least 9/10.

(b) Suppose the 4-digit PINs are randomly distributed. How many people

must be in a room such that the probability that two of them have

the same PIN is at least 1/2? (Here “4 digits” means that the PIN

cannot start with a 0.)

Note: Pay special attention to the direction of the inequality in the

formula(s) used for this question.

Due: Thursday, February 25, 2021, 11:30 pm

Contact Us(Ghostwriter Service)

- QQ：99515681
- WeChat：codinghelp2
- Email：99515681@qq.com
- Work Time：8:00-23:00

- Cs2461-10 Programminghelp With ,Ghostw... 2021-03-02
- Ghostwriter Program Programming,Help W... 2021-03-02
- Programming Coursehelp With ,Ghostwrit... 2021-03-02
- Ghostwriter Csc1-Ua Programming,Help W... 2021-03-02
- Help With Program Programming,Ghostwri... 2021-03-02
- Ghostwriter Data Programming,Help With... 2021-03-02
- Cse 13S Programminghelp With ,Ghostwri... 2021-03-02
- Mat136h5 Programminghelp With ,C/C++ P... 2021-03-01
- Ghostwriter Ee425x Programming,Help Wi... 2021-03-01
- Cscc11 Programming Coursehelp With ,Gh... 2021-03-01
- Ghostwriter Program Programming,Python... 2021-03-01
- Help With R Programming|Help With Data... 2021-03-01
- Data Structuresghostwriter ,Help With ... 2021-03-01
- Help With Data Programming,C++，Python... 2021-03-01
- Ghostwriter Aps 105 Programming,C/C++ ... 2021-03-01
- Fre6831 Computational Finance 2021-02-28
- Sta141b Assignment 5 Interactive Visu... 2021-02-28
- Eecs2011a-F20 2021-02-28
- Comp-251 Final Asssessment 2021-02-28
- Ghostwriter Cs1027 Course Programming,... 2021-02-28

Contact Us - Email：99515681@qq.com WeChat：codinghelp

© 2014 www.asgnhelp.com

Programming Assignment Help！