Question
Password strength is a measure of the elfectiveness of a password against guessing or brute-force attacks. In its usual form, it estimates how many trials
Password strength is a measure of the elfectiveness of a password against guessing or brute-force attacks. In its usual form, it estimates how many trials an enemy who does not have direct access to the password would need, on average, to guess it correctly. Therefore, most of the secure websites enforce certain rules for password strength. Considering following scenario, write an algorithm that checks whether a string is a valid password. Suppose the password rules are as follows:- A password must have at least ten characters.- A password consists of only letters, special symbol and digits.- A password consists at least one upper case letter and one lower case letter.A password must contain at least two digits.- A password must contain at least one special character ( @, #, $, Or %)
fast pls
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started