feat: add automated cipher identification and cryptanalysis engine - #1674
Conversation
Introduce a new cryptanalysis tool that identifies unknown ciphertext using statistical analysis: frequency analysis, index of coincidence, Shannon entropy, chi-squared testing, Kasiski examination, and digram/trigram pattern matching. Includes interactive React UI with frequency charts, educational metrics explanations, sample ciphertexts, and 45+ unit tests. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
|
@karan-chaos is attempting to deploy a commit to the csxark's projects Team on Vercel. A member of the Team first needs to authorize it. |
🎉 Thank You for Your ContributionHello @karan-chaos, Thank you for submitting a Pull Request to CryptoViz. We appreciate the time and effort you've invested in contributing to the project. Your Pull Request has been received successfully and will be reviewed by the maintainers as soon as possible. 📋 Pull Request Checklist
Ensuring these requirements are met helps streamline the review process and enables maintainers to review your contribution more efficiently. ❤️ Support CryptoVizIf you find CryptoViz helpful, consider supporting the project by:
Your support helps increase the project's visibility and encourages continued development. Thank you for being a part of the CryptoViz community! Thank you once again for contributing to CryptoViz. We appreciate your support and look forward to reviewing your contribution. |
|
Warning Review limit reachedNext included review available in 50 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🎉 Pull Request MergedHello @karan-chaos, Thank you for your contribution to CryptoViz. Your Pull Request has been reviewed and successfully merged into the project. We sincerely appreciate the time and effort you invested in improving the project. Contributions like yours help make CryptoViz better for the entire community. We look forward to your future contributions and hope to collaborate with you again. ❤️ Support CryptoVizIf you find CryptoViz helpful, consider supporting the project by:
Your support helps increase the project's visibility and encourages continued development. Thank you for being a part of the CryptoViz community! |
Summary
Resolves #1673
This PR introduces a complete automated cryptanalysis engine for analyzing
unknown ciphertext and identifying likely cipher or encoding methods.
It combines seven statistical tests, cipher-specific classifiers, ranked
candidate results, and an interactive React interface for exploring
cryptanalysis results.
Changes
Cryptanalysis Engine
Implemented statistical analysis using:
Cipher Classification
Added 14 cipher and encoding classifiers covering:
Candidate Ranking
Added functionality to:
Interactive UI
Added a React interface featuring:
Educational Analysis
Added explanations for the statistical methods used during analysis,
helping users understand how each metric contributes to cipher
identification.
Testing
Added 45+ unit tests validating:
Verification