toebes / ciphers

Cipher Generators
BSD 3-Clause "New" or "Revised" License
13 stars 4 forks source link

It would be nice if the Nihilist could recommend Polybius Key and Encoding key keywords just like the Aristocrat recommendations for K1/K2/K3 #459

Closed toebes closed 9 months ago

toebes commented 10 months ago

Look at the fixes in #451

It loads in the English dictionary with

this.loadLanguageDictionary(this.state.curlang);

Then in genKeywordSuggestions it calls this.makeUniquePattern("ABCDEFGH", 1); to get the index for the 8 character keywords.
From there you can find all the keywords with that pattern by referencing this.Frequent[lang][pat][slot][0];
In this case