Giter Site home page Giter Site logo

cryptography-toolkit's Introduction

Cryptography-Toolkit

Toolkit for cryptography problems implemented in python

All messages are encrypted/decrypted in Z26 (mod 26)

Counting and Probability

  • morse_code.py
    • counts the amount of characters needed if English message is translated to morse code

Decrypting Monoalphabetic Ciphers

  • ascii_conversion.py
    • Helper method for converting numbers to letters and vice versa
  • decipher.py
    • Can find the most common element/character in a string and return each characters number of occurances
    • Implementation of an exponential cipher
  • decrypt_affine.py
    • Decryption for affine cipher given alpha and beta values

Hills System

Note all encryption/decryption is for 2x2 key matrix

  • find_keys.py
    • Runs through the different options for finding the key of a message encrypted using hills cipher
    • Takes a 5 letter word that user believes will appear within the text
  • hill_decipher.py
    • deciphers a hills system encrypted message given the key is already know
  • hill_encipher.py
    • enciphers a message with the a given key

Monoalphabetic Ciphers

  • encoded_message.py
    • encodes a message using a multiplicative key (multiplicative cipher)
  • exponential_cipher.py
    • Encodes with exponential and affine ciphers (separate)
  • unit_mult.py -Finds the values of two units in Z26 multiplied together

Polyalphabetic Ciphers

  • IC_score.py
    • calculates the IC score of a string to help decide if it is monoalphabetic or polyalphabetic

Set Theory, Integers Modulo n and Rings and Fields

  • OneToOne.py
    • Tests to see if an encryption method (exponential or multiplicative) has one-to-one correlation

cryptography-toolkit's People

Contributors

andrewjlang avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

deltaphiro

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.