Module: PasswordStrengthValidator
- Defined in:
- lib/password_strength_validator/version.rb,
lib/password_strength_validator/validator.rb
Defined Under Namespace
Classes: Validator
Constant Summary collapse
- VERSION =
'1.0.2'
- DEFAULT_OPTIONS =
{ min_length: 8, max_length: 72, require_uppercase: true, require_lowercase: true, number_of_digits: 1, number_of_symbols: 0, }.freeze
- SYMBOLS =
%w[!@"#$%&'()*+,-./:;<=>?[\\]^_`{|}~].first.unpack('C*').freeze