Address: http://www.shopexued.com/archives/398
Recently, I encountered a password setting rule problem during registration. Previously, due to incomplete consideration, front-end engineers were faced with unnecessary troubles. Sorry!
However, everyone has learned this knowledge. The following content is shared:
I. Password Length:
- 5: less than or equal to 4 characters
- 10: 5 to 7 characters
- 25 points: greater than or equal to 8 characters
2. letters:
- 0: no letters
- 10 points: all are small (BIG) Letters
- 20: uppercase/lowercase letters
Iii. Numbers:
- 0: No number
- 10 points: 1 digit
- 20 points: greater than or equal to three digits
Iv. symbols:
- 0: No symbol
- 10 points: 1 Symbol
- 25 points: more than 1 Symbol
5. rewards:
- 2 points: letters and numbers
- 3 points: letters, numbers, and symbols
- 5 points: uppercase/lowercase letters, numbers, and symbols
Final scoring criteria:
- > = 90: extremely secure
- > = 80: Security (secure)
- > = 70: very strong
- > = 60: strong (strong)
- > = 50: Average (average)
- > = 25: weak)
- > = 0: very weak
Source: How to Make a password strength meter like Google V2.0
Address: http://www.shopexued.com/archives/398