Class StrengthChecker


  • public class StrengthChecker
    extends Object
    Checks strength of the password using zxcvbn derivative library and provide other simple quality measurements of passwords. The returned result is normalized to 0-1 range, 1 (max score) corresponds to currently very hard not normalized value of 14 or minimum acceptable value whichever is greater.
    Author:
    K. Benedyczak
    • Constructor Detail

      • StrengthChecker

        public StrengthChecker()
    • Method Detail

      • getCharacterClasses

        public static int getCharacterClasses​(String password)
      • hasNoTrivialSequences

        public static boolean hasNoTrivialSequences​(String password)