Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rail-fence cracker #699

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

AlexandruValeanu
Copy link

Should close #351.

Config().library_default().complete_config(),
"He adem di nn lain gdatlnsalo ro idaee ybek plemeep",
)
assert res.lower() == answer_str.lower()
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's pretty difficult to get the case right due to the nature of the cipher so it's easier to convert them before comparing

@SkeletalDemise
Copy link
Contributor

Hello. I'm sorry that this wasn't looked at before. The cracker should have support for offsets too.
Here's an example of a decryptor that has an option for offsets: https://www.boxentriq.com/code-breaking/rail-fence-cipher

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Railfence/Zig-Zag cracker
2 participants