GithubHelp home page GithubHelp logo

positron11 / cheshire Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.58 MB

Playfair cipher breaker employing the technique of simulated annealing.

License: MIT License

Python 100.00%
playfair-cipher python simulated-annealing ngrams

cheshire's Introduction

Cheshire

Abstract

A Playfair cipher breaker implemented in python, employing the technique of Simulated Annealing using simple n-gram language analysis as the objective function.

The Name

The idea for the name came to me when I began to try and understand how stochastic optimization methods such as Simulated Annealing work. The analogy holds especially strong for Metropolis-Hastings - while it does somewhat "care where", getting somewhere as long as it walks for long enough is certainly a driving mechanic of the algorithm. For those who aren't familiar with the book, the following is a bit of dialogue between Alice P. Liddell and the Cheshire Cat in Lewis Carrol's 1865 book Alice's Adventures in Wonderland:

Alice Liddell: Would you tell me, please, which way I ought to go from here?
Cheshire Cat: That depends a good deal on where you want to get to.
Alice Liddell: I don't much care where-
Cheshire Cat: Then it doesn't much matter which way you go.
Alice Liddell: ...so long as I get somewhere.
Cheshire Cat: Oh, you're sure to do that, if only you walk long enough.

- Lewis Carrol, Alice's Adventures in Wonderland

cheshire's People

Contributors

positron11 avatar

Stargazers

 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.