Check the password strength. Calculate the entropy based on the entered password to test the security and give the corresponding security level.
Tips: This algorithm is based on zxcvbn to provide more scientific cryptographic security detection. Different from the previous security cryptographic rules requiring mixed case and special characters, zxcvbn algorithm evaluates the cipher strength according to the entropy value from the perspective of the actual cracker. 0-4 level of cracking difficulty, 0 is the lowest, 4 is the highest.