Skip to content

Commit

Permalink
yxcvbn adjacency 4
Browse files Browse the repository at this point in the history
  • Loading branch information
Lia committed Feb 26, 2024
1 parent 1e47a0d commit 92f5b06
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 27 deletions.
27 changes: 0 additions & 27 deletions adjacency.txt

This file was deleted.

83 changes: 83 additions & 0 deletions src/adjacency_graphs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,89 @@ lazy_static! {
);
table.insert('#', vec![Some("+*~"), None, Some("äÄ"), None, None, None]);
table.insert('\'', vec![Some("+*~"), None, Some("äÄ"), None, None, None]);
table.insert('<', vec![None, Some("aA"), None, Some("yY"), None, None]);
table.insert('>', vec![None, Some("aA"), None, Some("yY"), None, None]);
table.insert('|', vec![None, Some("aA"), None, Some("yY"), None, None]);
table.insert(
'y',
vec![Some("aA"), Some("sS"), Some("<>|"), Some("xX"), None, None],
);
table.insert(
'Y',
vec![Some("aA"), Some("sS"), Some("<>|"), Some("xX"), None, None],
);
table.insert(
'x',
vec![Some("sS"), Some("dD"), Some("yY"), Some("cC"), None, None],
);
table.insert(
'X',
vec![Some("sS"), Some("dD"), Some("yY"), Some("cC"), None, None],
);
table.insert(
'c',
vec![Some("dD"), Some("fF"), Some("xX"), Some("vV"), None, None],
);
table.insert(
'C',
vec![Some("dD"), Some("fF"), Some("xX"), Some("vV"), None, None],
);
table.insert(
'v',
vec![Some("fF"), Some("gG"), Some("cC"), Some("bB"), None, None],
);
table.insert(
'V',
vec![Some("fF"), Some("gG"), Some("cC"), Some("bB"), None, None],
);
table.insert(
'b',
vec![Some("gG"), Some("hH"), Some("vV"), Some("nN"), None, None],
);
table.insert(
'B',
vec![Some("gG"), Some("hH"), Some("vV"), Some("nN"), None, None],
);
table.insert(
'n',
vec![Some("hH"), Some("jJ"), Some("bB"), Some("mM"), None, None],
);
table.insert(
'N',
vec![Some("hH"), Some("jJ"), Some("bB"), Some("mM"), None, None],
);
table.insert(
'm',
vec![Some("jJ"), Some("kK"), Some("nN"), Some(",;"), None, None],
);
table.insert(
'M',
vec![Some("jJ"), Some("kK"), Some("nN"), Some(",;"), None, None],
);
table.insert(
',',
vec![Some("kK"), Some("lL"), Some("mM"), Some(".:"), None, None],
);
table.insert(
';',
vec![Some("kK"), Some("lL"), Some("mM"), Some(".:"), None, None],
);
table.insert(
'.',
vec![Some("lL"), Some("öÖ"), Some(",;"), Some("-_"), None, None],
);
table.insert(
':',
vec![Some("lL"), Some("öÖ"), Some(",;"), Some("-_"), None, None],
);
table.insert(
'-',
vec![Some("öÖ"), Some("äÄ"), Some(".:"), None, None, None],
);
table.insert(
'_',
vec![Some("öÖ"), Some("äÄ"), Some(".:"), None, None, None],
);

table
};
Expand Down

0 comments on commit 92f5b06

Please sign in to comment.