Question: Language: Typescript Answer in CODE ONLY! Explain with comments if you want. Problem: You are in charge of implementing the password strength checker on the

Language: Typescript

Answer in CODE ONLY!

Explain with comments if you want.

Problem:

You are in charge of implementing the password strength checker on the backend of a web application. The requirements for password are: 1. Must be at least 10 characters. 2. Must include alphanumerics and 1 special character. 3. Must include at least 1 capital letter 4. Cannot start with a number

You must return a object back to the front end in the format of: {1: boolean, 2: boolean, 3: boolean, 4: boolean}

where 1 is the first requirement and 4 is the last requirement. The boolean must be a true or false value representing whether that specific requirement is satisfied or not.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!