1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
patriot [66]
4 years ago
11

Assume that passwords are selected from four-character combinations of 26 alphabeticcharacters. Assume that an adversary is able

to attempt passwords at a rate ofone per second.
a. Assuming no feedback to the adversary until each attempt has been completed,what is the expected time to discover the correct password?
b. Assuming feedback to the adversary flagging an error as each incorrect character is entered, what is the expected time to discover the correct password?
Computers and Technology
1 answer:
tigry1 [53]4 years ago
6 0

Answer:

for a) the time required is 228488.5 seconds= 63.469 hours

for b) the time required is 54 seconds

Explanation:

for a) since each combination is equally probable , then the number of possible combinations is

CT=Combinations = number of characters^length of password = 26⁴

then the number of combinations at time t will be the total , less the ones already tried:

Ct = CT - (n-1) , since n=α*t  → Ct=CT-α*t  

since each combination is equally probable , then the probability to succeed  

pt = 1/Ct = 1/ (CT- α*t +1)

but the probability of having a success in time t , means also not succeeding in the previous trials , then

Pt = pt*П(1-pk), for k=1 to t-1

Pt = 1/ (CT- α*t +1) П[1-1/ (CT- α*k +1)] = 1/ (CT- α*t +1) П[(CT- α*k )] /(CT- α*k +1)]  

since α=1 ,  

Pt = 1/ (CT- t +1) П[(CT- k )] /(CT- k +1)] = 1/ (CT- t +1)  * [CT- (t-1) ]/CT  =  1/CT

then the expected value of the random variable t= time to discover the correct password is

E(t) = ∑ t* Pt = ∑ t *1/CT , for t=1 until t=CT/α =CT

E(t) = ∑ t *(1/CT) = (1/CT) ∑ t = (1/CT) * CT*(CT+1)/2 = (CT+1)/2

therefore

E(t) = (CT+1)/2 = (26⁴ +1)/2 = 228488.5 seconds = 63.469 hours

for b)

time required = time to find character 1 + time to find character 2 +time to find character 3 +time to find character 4 = 4*time to find character

since the time to find a character is the same case as before but with CT2=Combinations = 26 ,then

t= 4*tc

E(t) = 4*E(tc) = 4*(CT2+1)/2 = 4*(26+1)/2 = 54 seconds

You might be interested in
When would you use the code snippet American?
Olin [163]

I believe the answer is A. While inserting a checkbox

3 0
4 years ago
Read 2 more answers
During this project, you will prepare a short business report. You will accomplish the following during this section of the proj
german

Answer:

I can't tell you mine because that would be plagiarism but here's some ideas

Title Page. Every business report should feature a title page. ...

Summary. ...

Table of Contents. ...

Introduction. ...

Methods and Findings. ...

Conclusions and Recommendations. ...

References. ...

Appendices (If Applicable)

Explanation: Hope this helps:)

3 0
3 years ago
Before programmers decide which programming language to use or start writing code, they develop a complete description of the ta
LenKa [72]

Answer:

Problem Statement

Explanation:

The problem statement is described the complete description of the task of the program. It gives a clear description of the program.

The main objective to develop a problem statement explain the program in a detailed manner The good programmer firstly create the problem statement of the program then it created the program by following the guidelines of the problem statement.

7 0
3 years ago
Write a program called playwaltz.py that accepts from standard input, a sequence of 32 integers representing the 32 measures of
Mila [183]

thats a lot of damage Explanation:

6 0
3 years ago
What is the output?
NemiM [27]

Answer:

False

Explanation:

Put it in IDLE and got it.

4 0
3 years ago
Other questions:
  • Which sentences describe the use of web development tools?
    14·1 answer
  • Write a program to provide information on the height of a ball thrown straight up into the air. The program should request as in
    5·2 answers
  • Which is a method used to determine database requirement?
    15·1 answer
  • Spreadsheet software creates a ____, composed of a grid of columns and rows
    6·1 answer
  • Refer to the image below. The letter item indicated at 3. is_____________________ a Your Address - Where you are b The Letter Ad
    7·1 answer
  • How to write (c program) code for 30/4 = 7.5. It should print 7.5, not 7
    12·1 answer
  • Problem 4 (25 points)Consider a byte addressing architecture with 64-bit memory addresses.(a)Which bits of the address would be
    5·1 answer
  • What is the value of the variable named result after the following code executes?
    10·1 answer
  • To summarize means to
    11·2 answers
  • What is the term for delivering an application over the internet called?
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!