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