Code Monkey home page Code Monkey logo

skip-cipher's Introduction

Skip cipher

What is the Skip cipher?

The skip cipher, also known as the jump cipher, which reorders the letters in a message by skipping a certain number of letters until all the letters have been processed. In the code, I have set it to add in every possible initial character to begin the skip cipher.

Dependencies

  • Python 3.6 or higher
  • wordninja (pip install wordninja)

How to use the Skip cipher?

  1. Enter the encrypted message into input.txt file (or use the default message)
  2. Run the main.py file
  3. All possible decrypted messages will be saved in output.txt file
  4. Run to_sentences.py to turn the decrypted messages into sentences
  5. All possible decrypted sentences will be saved in sentences.txt file
  6. Run filter_sentences.py to filter the sentences and save the most likely sentences in filtered_sentences.txt file
  7. Enjoy the newly decrypted messages!

Warning:

My code is not perfect and terribly inefficient, so it might take a while to decrypt longer messages.

References

skip-cipher's People

Contributors

skullheadx avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.