toebes / ciphers

Cipher Generators

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nihilist Cryptanalysis Autosolver

aneesh-iyer29 opened this issue · comments

There are 2 problems I noticed from the auto-solver while trying to create a sample problem today:

Issue 1: When the plaintext letter value is 55 and the key value is X5, the resulting number will leave a potential gap of 6 characters on the tens place, which breaks the 5 step rule causing the solver to not know how to continue even though the keyword guess length is right. It should be able to identify this edge case.

Example:
Quote: The work done by top level scientists is amazing
Keyword: Blind
Polybius Key: Neighbour
Crib Text: The work
Block Size: 5
image

Issue 2: After the keyword has been identified, the Autosolver does not realize that some of the letters that were provided in the crib can be used to help construct the polybius square and solve the rest of the message.

Example
Quote: The wizard did not realize that he was in trouble
Keyword: Stare
Polybius Key: Complains
Crib Text: The wizard
Block Size: 5
Screenshot 2024-07-22 105938
From the crib we know that I=22, though this information is not being used to construct the polybius square or fill in characters in the rest of the quote.