Coder Social home page Coder Social logo

allen-smith / codebreaker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from asweigart/codebreaker

0.0 2.0 0.0 936 KB

"Hacking Secret Ciphers with Python" programs

Home Page: http://inventwithpython.com/blog/become-a-code-breaker-with-python/

Python 99.92% Batchfile 0.08%

codebreaker's Introduction

codebreaker

Hacking Secret Ciphers with Python" programs

This repo contains the source for the encryption and code breaking programs featured in the book "Hacking Secret Ciphers with Python".

Here's a general description of each of the files:

affineBreaker.py Break Affine Cipher-encrypted messages.

affineCipher.py Encrypt and decrypt using the Affine Cipher.

al_sweigart_privkey.txt A sample private key file that is used by the rsaCipher.py program.

al_sweigart_pubkey.txt A sample public key file that is used by the rsaCipher.py program.

buggy.py Used as practice for using Python's debugger.

caesarBreaker.py Break Caesar Cipher-encrypted messages.

caesarCipher.py Encrypts and decrypts using the Caesar Cipher.

coinFlips.py Used as practice for using Python's debugger.

detectEnglish.py Used to detect if a string is English.

dictionary.txt A dictionary file of English words, one per line.

encrypted_file.txt A sample encrypted file from the

frankenstein.txt A large text file sample. (The public domain novel Frankenstein.)

freqFinder.py Module for gathering letter frequency statistics.

makeRsaKeys.py Generate a public/private RSA key pair.

nullBreaker.py Breaks Null Cipher-encrypted messages.

nullCipher.py Encrypts and decrypts using the Null Cipher.

primeSieve.py Generates prime numbers using the Sieve of Erastothenes algorithm

pyperclip.py A module for copying and pasting to the clipboard. This source code isn't going to be featured in the book, and is only included so that people can test the programs that use it.

rabinMiller.py Module for primality testing using the Rabin-Miller algorithm.

README.md The file that you are reading right now, silly. :D

reverseCipher.py Encrypts with the reverse "cipher", which just reverse the string.

rsaCipher.py Encrypts and decrypts using the RSA Cipher.

simpleSubBreaker.py Breaks Simple Substitution Cipher-encrypted messages.

simpleSubCipher.py Encrypts and decrypts using the Simple Substitution Cipher.

simpleSubKeyword.py Encrypts and decrypts using the Simple Substitution Cipher, using an English word for the key.

transpositionBreaker.py Breaks Transposition Cipher-encrypted messages.

transpositionCipherFile.py Encrypts and decrypts files using the Transposition Cipher.

transpositionDecrypt.py Decrypts messages using the Transposition Cipher.

transpositionEncrypt.py Encrypts messages using the Transposition Cipher.

transpositionFileBreaker.py Breaks Transposition Cipher-encrypted files.

transpositionTest.py Tests to see if the Transposition Cipher program works.

vigenereBreaker.py Breaks Vigenere Cipher-encrypted messages.

vigenereCipher.py Encrypts and decrypts using the Vigenere Cipher.

codebreaker's People

Contributors

asweigart avatar

Watchers

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