Strength Checker for Password Systems: For a given password system, calculate the search space for a...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Strength Checker for Password Systems: For a given password system, calculate the search space for a general user and a lazy user. Suppose only 11 special characters can be input. Program with any language. Input (by the evaluator): 1st line: number of characters 2nd line: numbers allowed [Y/N]? must be included [Y/N]? 3rd line: letters allowed [Y/N]? case sensitive [Y/N]? must be included [Y/N]? 4th line: special character allowed [Y/NJ? must be included [Y/NJ? Output: 1st line: The search space for a general user is 0. 2nd line: The search space for a lazy user is ). Example: Input: 6 YY YYY YY Output: The search space for a general user is 1.43*10^11. The search space for a lazy user is 2.68*10^9. in java code Strength Checker for Password Systems: For a given password system, calculate the search space for a general user and a lazy user. Suppose only 11 special characters can be input. Program with any language. Input (by the evaluator): 1st line: number of characters 2nd line: numbers allowed [Y/N]? must be included [Y/N]? 3rd line: letters allowed [Y/N]? case sensitive [Y/N]? must be included [Y/N]? 4th line: special character allowed [Y/NJ? must be included [Y/NJ? Output: 1st line: The search space for a general user is 0. 2nd line: The search space for a lazy user is ). Example: Input: 6 YY YYY YY Output: The search space for a general user is 1.43*10^11. The search space for a lazy user is 2.68*10^9. in java code
Expert Answer:
Answer rating: 100% (QA)
Answer Step 1 Program Approach Import necessary packages to get a standard IO Define a main class Inside a main class define a main function Inside a main function make use of scanner class to read in... View the full answer
Related Book For
Elementary Statistics A step by step approach
ISBN: 978-0073386102
8th edition
Authors: Allan Bluman
Posted Date:
Students also viewed these programming questions
-
Suppose that a password for a computer system must have at least 8, but no more than 12, characters, where each character in the password is a lowercase English letter, an uppercase English letter, a...
-
Suppose that n letters are put at random into n envelopes, as in the matching problem described in Sec. 1.10. Determine the variance of the number of letters that are placed in the correct envelopes.
-
In Example 1 suppose busses are also allowed to park, and let xk denote the number of ways a row of k parking spaces can be filled with cars, trucks, and busses. If busses take up 4 spaces, find a...
-
1.3 WANEFMAC7 1.3.007. Find the equation of the given linear function. \[ f(x)= \] WANEFMAC7 1.3.015. Find the slope of the given line, if it is defined. (If an answer is undefined, enter UNDEFINED.)...
-
In (, let Q be the set of rational numbers, and for n = 1, 2,..., let An be defined by Examine whether or not the lim n n(An exists. ; re Q E ( 1 n + 1 1+ An
-
Find the bone density scores that can be used as cutoff values separating the lowest 3% and highest 3%. Assume that a randomly selected subject is given a bone density test. Bone density test scores...
-
What are the two most important factors when preparing to impact a machine or part for natural frequency identification?
-
You purchase 1,000 shares of Spears Grinders Inc. stock for $45 per share. A year later, the stock pays a dividend of $1.25 per share and it sells for $49. a. Calculate your total dollar return. b....
-
Describe the historical influences that shaped the field of psychology as discussed in the lesson notes. Identify and discuss the contributions of at least two of psychology's forefathers as...
-
Develop a spreadsheet for computing the demand for any values of the input variables in the linear demand and nonlinear demand prediction models in Examples 1.7 and 1.8 in the chapter.
-
List and describe all the ways counterterrorism agencies work to proactively reduce terrorism?
-
Milton Industries expects free cash flows of $4 million each year. Milton's corporate tax rate is 21%, and its unlevered cost of capital is 13%. Milton also has outstanding debt of $17.08 million,...
-
A two reactor system is comprised of a CSTR and a PFR in series. The PFR is twice the volume of the CSTR. Sketch the effluent concentration from the two reactor system (i.e., effluent from the second...
-
What were the circumstances surrounding the determination by the National Highway Traffic Safety Administration that the Pinto fuel system was defective?
-
calculate dividend received and franking credit.H - TOTAL DIVIDENDS Fully franked dividends received from listed companies 21000 Unfranked dividend from listed companies 2000 23000 Amity prepared the...
-
A stream of nitrogen is initially at 20 bar and 400 K, and at a velocity 10 m/s. Determine the final velocity and temperature of the stream if its pressure is reduced to 5 bar by passing through: a)...
-
Profit Kit I Kit II Kit III 1 320 2205 2310 10 15 18 A pet store sells three different starter kits for 10-gallon aquariums. The accompanying chart shows the contents of each kit. The store has 84...
-
Vince, Inc. has developed and patented a new laser disc reading device that will be marketed internationally. Which of the following factors should Vince consider in pricing the device? I. Quality of...
-
An ABC News poll asked adults whether they felt genetically modified food was safe to eat. Thirty-five percent felt it was safe, 52% felt it was not safe, and 13% had no opinion. A random sample of...
-
Construct a histogram, frequency polygon, and ogive by using relative frequencies for the data in Exercise 9 in this section.
-
The airborne speeds in miles per hour of 21 planes are shown. Find the approximate values that correspond to the given percentiles by constructing a percentile graph. Class Frequency 366386.....4...
-
The chief goal of the private sector is effciency.Why? The primary focus of the public sector is equity. Why? It is quite possible to be highly effcient yet ineffective. It is also possible to be...
-
Why is healthcare reform such a contentious issue in the United States? Why have public and private efforts been unsuccessful in fully addressing the challenge of affordable health care? What role(s)...
-
Drawing on economic theory, what kinds of market failure underlie the worlds most pressing problems? Examine three examples: hunger, groundwater contamination, and literacy.
Study smarter with the SolutionInn App