Skip to content

Tags: bad-antics/CryptoAnalysis.jl

Tags

v0.1.0

Toggle v0.1.0's commit message

Unverified

This user has not yet uploaded their public signing key.
Initial implementation: classical cryptanalysis toolkit

- Frequency analysis (single char, bigram, trigram)
- Index of coincidence for cipher type detection
- Kasiski examination for key length estimation
- Caesar cipher encrypt/decrypt/break
- Vigenere cipher encrypt/decrypt/break
- XOR analysis with single-byte and repeating-key breaking
- Shannon entropy calculation
- Chi-squared statistical testing
- Hamming distance (bytes and strings)
- English plaintext scoring and detection
- 133 tests