vibe.d beta banner
get vibe.d
0.10.0

Asynchronous I/O that doesn’t get in your way, written in D

Function validatePassword

Checks a password for minimum complexity requirements

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 Sönke Ludwig

License

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