Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ericperret/code

Repository files navigation

Code

Classical cipher cryptanalysis toolkit -- Break historical ciphers with statistical attacks.

> Lancer l'application

Features

  • Vigenere Cipher -- Kasiski examination, index of coincidence
  • Beaufort Cipher -- Reciprocal cipher analysis
  • Caesar Cipher -- Frequency analysis, brute force
  • XOR Cipher -- Known plaintext, crib dragging
  • Base64 -- Encoding/decoding utilities
  • Dictionary Validation -- Verify plaintext against word lists
  • Web Workers -- Background processing for large texts

Tech Stack

  • Pure HTML/CSS/JavaScript
  • Web Workers for parallel computation
  • Frequency analysis algorithms
  • No external dependencies

Usage

  1. Open `index.html` in your browser
  2. Paste your ciphertext
  3. Select the suspected cipher type
  4. Click Analyze to run attacks
  5. Review candidate plaintexts

Techniques Implemented

  • Frequency Analysis -- Letter distribution comparison
  • Index of Coincidence -- Key length estimation
  • Kasiski Examination -- Repeated sequence analysis
  • Dictionary Attack -- Plaintext validation
  • Chi-squared Test -- Statistical fitness

License

MIT

Author

Eric PERRET -- GitHub

About

Classical cipher cryptanalysis toolkit - Vigenere, Beaufort, Caesar, XOR. Dictionary validation, Web Workers.

Topics

Resources

Readme

Stars

Watchers

Forks

Packages

Contributors