libnick 2025.3.0
A cross-platform base for native Nickvision applications.
Loading...
Searching...
No Matches
passwordstrength.h
Go to the documentation of this file.
1
22
23#ifndef PASSWORDSTRENGTH_H
24#define PASSWORDSTRENGTH_H
25
26#include <string>
27
28namespace Nickvision::Keyring
29{
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.
Definition passwordstrength.h:40
@ VeryWeak
A very weak password.
Definition passwordstrength.h:36
@ Weak
A weak password.
Definition passwordstrength.h:37
@ Medium
A medium password.
Definition passwordstrength.h:38
@ Strong
A strong password.
Definition passwordstrength.h:39
@ Blank
A blank password.
Definition passwordstrength.h:35