feat(cipher): add Grain-128 stream cipher (eSTREAM hardware profile finalist, NLFSR+LFSR combination, completes eSTREAM hardware coverage) - #993
Conversation
…inalist, NLFSR+LFSR combination, completes eSTREAM hardware coverage)
|
@Aakif-Kohari is attempting to deploy a commit to the csxark's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Warning Review limit reached
Next review available in: 59 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
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 |
🎉 Thank You for Your ContributionHello @Aakif-Kohari, 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. |
🎉 Pull Request MergedHello @Aakif-Kohari, 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! |
Pull Request
Description
Adds a complete, step-instrumented visualizer for Grain-128, an eSTREAM hardware-profile finalist. This implementation demonstrates its coupled LFSR/NLFSR structure and distinctive initialization phase that feeds output back into both registers.
Related Issue
Closes #983
Type of Change
Changes Made
lib/cipher/symmetric/grain128.tswith BigInt register logic and feedback-during-inittests/unit/symmetric/grain128.test.tsverifying round-trip correctnessgrain128toCipherNameunion inlib/cipher/types.tsgrain128inlib/cipher/registry.tslib/workers/cipher.worker.tsTesting
Checklist
Additional Notes
Completes the eSTREAM hardware-profile pairing alongside the already-merged Trivium. Grain-128's LFSR+NLFSR structure is architecturally distinct from Trivium's three-NLFSR design.