Code
Classical cipher cryptanalysis toolkit -- Break historical ciphers with statistical attacks.
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
- Open `index.html` in your browser
- Paste your ciphertext
- Select the suspected cipher type
- Click Analyze to run attacks
- 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