libnick 2024.12.0
A cross-platform base for native Nickvision applications.
Loading...
Searching...
No Matches
passwordstrength.h
Go to the documentation of this file.
1
23#ifndef PASSWORDSTRENGTH_H
24#define PASSWORDSTRENGTH_H
25
26#include <string>
27
28namespace Nickvision::Keyring
29{
34 {
35 Blank = 0,
36 VeryWeak,
37 Weak,
38 Medium,
39 Strong,
41 };
42
48 PasswordStrength getPasswordStrength(const std::string& password);
49}
50
51#endif //PASSWORDSTRENGTH_H
Definition credential.h:30
PasswordStrength getPasswordStrength(const std::string &password)
Calculates the strength of a given password.
PasswordStrength
Strengths for a password.
Definition passwordstrength.h:34
@ VeryStrong
A very strong password.