Question: Write a program that can allow users to choose passwords of exactly length Len from 20 unique characters and users have to change passwords for
Write a program that can allow users to choose passwords of exactly length Len from 20 unique characters and users have to change passwords for every six months. The program should find out the length of the password. (Ay programing language is acceptable)
This is the description:
Imagine that you are a system administrator developing a password-based authentication system that can allow users to choose passwords of exactly length len from 20 unique characters. Suppose there is an attacker who wants to guess the password of a user by launching a brute-force attack using a machine that can verify 1000 possible guesses per second. As a system administrator, you want to make sure that an attacker cannot successfully guess a password for a period of 6 months (assuming that users change passwords for every six months). Based on the above input values, please write a program to find out the length of the password (i.e., the value of len) in order to achieve your goal?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
