67. Validating passwords

Write a program that validates password strength based on predefined rules, which may then be selected in various combinations. At a minimum, every password must meet a minimum length requirement. In addition, other rules could be enforced, such as the presence of at least one symbol, digit, uppercase and lowercase letter, and so on.

Get The Modern C++ Challenge now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.