459,876 views
5 votes
5 votes
)Assume passwords are limited to the use of the 95 printable ASCII characters and that all passwords are 10 characters in length. Assume a password cracker with an encryption rate of 6.4 million encryptions per second. How long will it take to test exhaustively all possible passwords on a UNIX system

User Kalyfe
by
2.3k points

2 Answers

23 votes
23 votes

Final answer:

To exhaustively test all possible passwords on a UNIX system, it will take approximately 8.23 x 10^12 seconds.

Step-by-step explanation:

In this question, we are asked to calculate how long it will take to test all possible passwords on a UNIX system. We are given that passwords are limited to the use of 95 printable ASCII characters and are 10 characters in length. Additionally, we are told that the password cracker has an encryption rate of 6.4 million encryptions per second.



To calculate the time it will take, we can use the formula:



Time = Total Number of Passwords / Encryption Rate



Since we know that the length of the passwords is fixed at 10 characters and that only printable ASCII characters are used, there are:



Total Number of Passwords = (number of printable ASCII characters) ^ (number of characters in the password)



In this case, the number of printable ASCII characters is 95 and the number of characters in the password is 10, so:



Total Number of Passwords = 95 ^ 10



Using a calculator, we can calculate this value to be approximately 5.27 x 10^19.



Now, we can substitute this value and the encryption rate into our formula to calculate the time it will take:



Time = (5.27 x 10^19) / (6.4 million)



Calculating this, we find that it will take approximately 8.23 x 10^12 seconds to exhaustively test all possible passwords on a UNIX system.

User Phillbaker
by
2.8k points
17 votes
17 votes

Answer:

296653 years

Step-by-step explanation:

The length of password = 10

To get possible password:

95 printable password raised to power 10

= 95¹⁰

Then we calculate time it would take to break password

95¹⁰/6.4million

95¹⁰/6400000

= 9355264675599.67 seconds

From here we get minutes it would take. 60 secs = 1 min

= 9355264675599.67/60

= 155921077927 minutes

From here we get number of hours it would take 1 hr = 60 mins

155921077927/60

= 2598684632 hours

From here we calculate number of days it would take. 24 hrs = 1 day

2598684632/24

= 108278526 days

From here we calculate number of years it would take. 365 days = 1 ye

= 108278526/365

= 296653 years

It would take this number of years to test all possible passwords

User Jose Manuel
by
3.1k points