Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/PasswordHealth.h')
-rw-r--r--src/core/PasswordHealth.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/PasswordHealth.h b/src/core/PasswordHealth.h
index 6e3179253..35b582e94 100644
--- a/src/core/PasswordHealth.h
+++ b/src/core/PasswordHealth.h
@@ -82,6 +82,12 @@ public:
return m_entropy;
}
+ struct Length
+ {
+ static const int Short = 8;
+ static const int Long = 25;
+ };
+
private:
int m_score = 0;
double m_entropy = 0.0;