antd-password-input-strength
antd-password-input-strength copied to clipboard
Inconsistent password strength with tai
Describe the bug The demo page calculates a different strength from the one the input displays.
To Reproduce Steps to reproduce the behavior:
- Try andt password input strength input with the password 9(8*7&aBc
- Try the same password in the demo page.
- Demo page returns with:
{ charsetSize: 94, commonPassword: false, passwordLength: 9, shannonEntropyBits: 28.52932501298081, strengthCode: 'REASONABLE', trigraphEntropyBits: 58.237911691530336, number: true, lower: true, upper: true, punctuation: true, symbol: true }
Which is a reasonably strong password, but the Password input component considers it VERY_WEAK.
Expected behavior The statuses should match
Desktop (please complete the following information):
- OS: Windows
- Browser: Chrome
- Version: 102