vibe.d beta banner
get vibe.d
0.7.30

Function validatePassword

Checks a password for minimum complexity requirements

Prototypes

string validatePassword()(
  string str,
  string str_confirm,
  size_t min_length = 8,
  size_t max_length = 64
);

bool validatePassword(R)(
  ref R error_sink,
  string str,
  string str_confirm,
  size_t min_length = 8,
  size_t max_length = 64
)
if (isOutputRange!(R, char));
Authors

Sönke Ludwig

Copyright

© 2012-2014 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.