validatePassword

Checks a password for minimum complexity requirements

  1. string validatePassword(string str, string str_confirm, size_t min_length, size_t max_length)
  2. bool validatePassword(R error_sink, string str, string str_confirm, size_t min_length, size_t max_length)
    @safe
    bool
    validatePassword
    (
    R
    )
    (,
    string str
    ,,
    size_t min_length = 8
    ,
    size_t max_length = 64
    )
    if (
    isOutputRange!(R, char)
    )

Meta