mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-10-15 23:10:59 -04:00
Adding EASCII character class.
This commit is contained in:
parent
c40a7a5265
commit
fa7c945363
2 changed files with 18 additions and 1 deletions
|
@ -195,6 +195,22 @@ QVector<PasswordGroup> PasswordGenerator::passwordGroups() const
|
|||
|
||||
passwordGroups.append(group);
|
||||
}
|
||||
if (m_classes & EASCII) {
|
||||
PasswordGroup group;
|
||||
|
||||
for (int i = 128; i <= 169; i++) {
|
||||
group.append(i);
|
||||
}
|
||||
|
||||
for (int i = 171; i <= 254; i++) {
|
||||
if ((m_flags & ExcludeLookAlike) && (i == 249)) { // "﹒"
|
||||
continue;
|
||||
}
|
||||
group.append(i);
|
||||
}
|
||||
|
||||
passwordGroups.append(group);
|
||||
}
|
||||
|
||||
return passwordGroups;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue