Git Product home page Git Product logo

no-cipher's Introduction

Introduction

Ciphers are only as powerful as their complexity. For example, given 26 unique positions in the alphabet, a simple cipher could mean moving every letter two letters in either direction. So a word such as "zyaml" would become "bacon." This is also a good example of continuity, that "z" = "b", once the end of the alphabet is reached, simply go back to the beginning. The same applies if you are going backwards. The problem however with this type of ciphering, is that the cipher itself is simply a pattern, and patterns can be easily found. That is why in this program, I instead opted for a random cipher, meaning there is no specific pattern such as letter +- 2.

TODO List

  1. Perform proper cipher translations. For example, as the program currently operates, if the word "television" is encrypted to "sock", the program will simply write ["television", "sock", ....] and when decrypting it will just read in every other element in the list. This is not proper translation.
  2. Import an entire dictionary (or another large sample size of unique words) to expand encryption possibilities.
  3. Shuffle the order when writing entries to 'cipher.txt'.
  4. Have each cipher word be picked at random from the given text dictionary AND be unique (as in non-repeating), otherwise "boathouse" could be equal to "cinnamon" as well as "chairman." This could definitely lead to some potential problems.

no-cipher's People

Contributors

michaelobr 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.