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：codinghelp
- Email：99515681@qq.com
- Work Time：8:00-23:00

- Help With Program,Help With Python Pro... 2024-02-19
- Help With Cs2910,Help With C/C++ Progr... 2024-02-19
- Help With Cs 532,Matlab Programminghel... 2024-02-19
- Data Programminghelp With ,Help With P... 2024-02-18
- Programhelp With ,Help With Java/Pytho... 2024-02-18
- Help With Program Programming,Help Wit... 2024-02-18
- Help With Econ 323,C/C++，Java Program... 2024-02-17
- B31se Programminghelp With ,Java，C++ ... 2024-02-17
- Help With Program,Help With Java/Pytho... 2024-02-16
- Help With Ece438,Help With C/C++ Progr... 2024-02-16
- Help With Program,Python Programminghe... 2024-02-16
- Data Programminghelp With ,Python/Java... 2024-02-16
- Help With Cs9053,Help With Java Progra... 2024-02-15
- Help With Comp26020,Help With Java，C+... 2024-02-15
- Help With Csci3280,Python Programmingh... 2024-02-14
- Help With Program,Help With Python/Jav... 2024-02-14
- Help With Ems5730,Help With Python Pro... 2024-02-14
- Help With Cs 211 Programming,Help With... 2024-02-13
- Programhelp With ,Help With Java，C++ ... 2024-02-13
- Prog10065help With ,Help With C++ Prog... 2024-02-13

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

© 2021 www.asgnhelp.com

Programming Assignment Help！